import hashlib def h(q): return hashlib.md5(q.encode()).hexdigest() print(h(h(input())))