class Main {
public static void main
(String[] args
) { for (int i
= 0; i
< 32; i
++) System.
out.
println("" + i
/ 16 % 2 + i
/ 8 % 2 + i
/ 4 % 2 + i
/ 2 % 2 + i
% 2); }
}
//https://pt.stackoverflow.com/q/205295/101
Y2xhc3MgTWFpbiB7CglwdWJsaWMgc3RhdGljIHZvaWQgbWFpbiAoU3RyaW5nW10gYXJncykgewoJCWZvciAoaW50IGkgPSAwOyBpIDwgMzI7IGkrKykgU3lzdGVtLm91dC5wcmludGxuKCIiICsgaSAvIDE2ICUgMiArIGkgLyA4ICUgMiArIGkgLyA0ICUgMiArIGkgLyAyICUgMiArIGkgJSAyKTsKCX0KfQoKLy9odHRwczovL3B0LnN0YWNrb3ZlcmZsb3cuY29tL3EvMjA1Mjk1LzEwMQ==