import java.util.*;
import java.lang.*;
import java.io.*;
class Main {
public static void main
(String[] args
) { int n;
Scanner scan
= new Scanner
(System.
in); n = scan.nextInt();
scan.nextLine();
for (int i = 0; i < n; i++) {
int count = 0;
int from = -1;
while ((from = x.indexOf('1', from + 1)) >= 0) {
count += (from / 2 == i)? 2 : 1;
}
System.
out.
print(count
+ " "); }
}
}
aW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgpjbGFzcyBNYWluIHsKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKSB7CgkJaW50IG47CgkJU2Nhbm5lciBzY2FuID0gbmV3IFNjYW5uZXIoU3lzdGVtLmluKTsKCQluID0gc2Nhbi5uZXh0SW50KCk7CgkJc2Nhbi5uZXh0TGluZSgpOwoJCWZvciAoaW50IGkgPSAwOyBpIDwgbjsgaSsrKSB7CgkJCVN0cmluZyB4ID0gc2Nhbi5uZXh0TGluZSgpOwoJCQlpbnQgY291bnQgPSAwOwoJCQlpbnQgZnJvbSA9IC0xOwoJCQl3aGlsZSAoKGZyb20gPSB4LmluZGV4T2YoJzEnLCBmcm9tICsgMSkpID49IDApIHsKCQkJCWNvdW50ICs9IChmcm9tIC8gMiA9PSBpKT8gMiA6IDE7CgkJCX0KCQkJU3lzdGVtLm91dC5wcmludChjb3VudCArICIgIik7CgkJfQoJfQp9