import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
public class Main {
String[] input
= reader.
readLine().
split("([ \t\r\n]|\\s)+"); ArrayList<Integer> list = new ArrayList<Integer>(input.length);
Integer.
toBinaryString(i
)).
replace(' ',
'0')); list.add(i = s.length() - s.replace("1", "").length());
}
for(int i : list) {
}
}
}
aW1wb3J0IGphdmEuaW8uQnVmZmVyZWRSZWFkZXI7CmltcG9ydCBqYXZhLmlvLklPRXhjZXB0aW9uOwppbXBvcnQgamF2YS5pby5JbnB1dFN0cmVhbVJlYWRlcjsKaW1wb3J0IGphdmEudXRpbC5BcnJheUxpc3Q7CgpwdWJsaWMgY2xhc3MgTWFpbiB7CglwdWJsaWMgc3RhdGljIHZvaWQgbWFpbihTdHJpbmdbXSBhcmdzKSB0aHJvd3MgSU9FeGNlcHRpb24gewogICAgICAgIEJ1ZmZlcmVkUmVhZGVyIHJlYWRlciA9IG5ldyBCdWZmZXJlZFJlYWRlcihuZXcgSW5wdXRTdHJlYW1SZWFkZXIoU3lzdGVtLmluKSk7CiAgICAgICAgU3RyaW5nW10gaW5wdXQgPSByZWFkZXIucmVhZExpbmUoKS5zcGxpdCgiKFsgXHRcclxuXXxcXHMpKyIpOwogICAgICAgIEFycmF5TGlzdDxJbnRlZ2VyPiBsaXN0ID0gbmV3IEFycmF5TGlzdDxJbnRlZ2VyPihpbnB1dC5sZW5ndGgpOwogICAgCVN5c3RlbS5vdXQucHJpbnRsbigpOwoJCWZvcihTdHJpbmcgcyA6IGlucHV0KSB7CgkgICAgCVN5c3RlbS5vdXQucHJpbnQoU3RyaW5nLmZvcm1hdCgiJTExcyIsIHMpKTsKCSAgICAJU3lzdGVtLm91dC5wcmludCgiICIpOwoJICAgIAlpbnQgaSA9IEludGVnZXIucGFyc2VJbnQocyk7CgkgICAgCVN5c3RlbS5vdXQucHJpbnQocyA9IFN0cmluZy5mb3JtYXQoIiUzMnMiLAoJICAgIAkJSW50ZWdlci50b0JpbmFyeVN0cmluZyhpKSkucmVwbGFjZSgnICcsICcwJykpOwoJICAgIAlTeXN0ZW0ub3V0LnByaW50KCIgIik7CgkgICAgCWxpc3QuYWRkKGkgPSBzLmxlbmd0aCgpIC0gcy5yZXBsYWNlKCIxIiwgIiIpLmxlbmd0aCgpKTsKCSAgICAJU3lzdGVtLm91dC5wcmludChTdHJpbmcuZm9ybWF0KCIlMnMiLCBpKSk7CgkgICAgCVN5c3RlbS5vdXQucHJpbnRsbigpOwoJCX0KCQlTeXN0ZW0ub3V0LnByaW50bG4oKTsKCQlmb3IoaW50IGkgOiBsaXN0KSB7CgkJCVN5c3RlbS5vdXQucHJpbnQoJyAnKTsKCQkJU3lzdGVtLm91dC5wcmludChpKTsKCQl9Cgl9Cn0K
LTE1MTEzOCA0IC0xNzYzODUzMDIxIC0xOTIzNSAtMTI3IC0xNTgwNzQwMTMgLTUyMDEyIC0xMjYgLTE0ODQ5OSAxNjExMTYzMSAtOTA0MzUzMDcyIC0xMDU2MDAgLTk5MTAzNDQgLTE4NTczOTQxNyAtMyA5IDk1NjUwMjcgLTEyMSAxNDU0NiAtMTUgLTEzOTAgMzY2NzAgLTE3NDAxODAwNDkgMTM2MzcgMTQ3MDAxNSAzOTQ2MSAxNTUzMyAtMTg1OTUgOSAxMDEyNyAxNDc3NTkxIC00NzMgNDMwOCAtMTEgLTQ0NDkyNSAxNjkyOSA0NCAxMjAwNyAxMjQgMCAxMjIyNDU3MyAtMTcgLTQ2OTE3MSA2IC0xOSAtNjYzNTU5Njc1IC05MzI4MDI2IDE2NDg1IC0xNTQzMTQ0MSAxNzkwNjg3NjEgMTY1MTg0IC0xODIzNTI0MCAtMTA2IC0xMTAzOTY5NzQz
-151138 4 -1763853021 -19235 -127 -158074013 -52012 -126 -148499 16111631 -904353072 -105600 -9910344 -185739417 -3 9 9565027 -121 14546 -15 -1390 36670 -1740180049 13637 1470015 39461 15533 -18595 9 10127 1477591 -473 4308 -11 -444925 16929 44 12007 124 0 12224573 -17 -469171 6 -19 -663559675 -9328026 16485 -15431441 179068761 165184 -18235240 -106 -1103969743