import hashlib s=input() for i in "..": u=s.encode("utf-8") s=hashlib.md5(u).hexdigest() print(s)