N = int(input()) L = len(str(N)) print(N * 10**L + N)