while True: inp = input() if inp == "end": exit(0) num = int(inp) print(num * 2)