a = input("").split() for i in a: if i.isdigit(): print(i*2) else: print(i)