import hashlib m = hashlib.md5(input().encode("utf-8")) s = m.hexdigest() m = hashlib.md5(s.encode("utf-8")) s = m.hexdigest() print(s)