N = int(input()) if N / 100 >= 1: K = N elif N % 100 >= 10: K = '0' + str(N) elif N % 100 <= 9: K = '00' + str(N) print(K)