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