import hashlib,itertools
dest="\x6d\x6b\xe9\xc4\xb3\x32\x1b\xd4\xec\xd4\x40\x96\x36\xc5\xb7\xb0\xe4\x16\xc0\x70"
def drawpoint(items):
fig=". . .\n. . .\n. . .\n"
for i in items:
pos=(ord(i))*2
fig=fig[:pos]+'*'+fig[pos+1:]
print fig
found=0
for p in xrange(4,10):
if found: break
for item in list(itertools.permutations(["\x00","\x01","\x02","\x03","\x04","\x05","\x06","\x07","\x08"],p)):
src="".join(item)
if hashlib.sha1(src).digest()==dest:
drawpoint(item)
found=1
break