print('\n'.join(' '.join([" #"[int(bool((1<<(36*5-x)) & 1428083014496045878776585690879172200768144434965384426L))] for x in range(36*y, 36*(y+1))]) for y in range(5))) -- Alejandro Santos