for i in range(64):print' '.join(`bin(i^j^i-j).count('1')*11.`[1]for j in range(i+1)).center(127)