N = input() if len(N) == 3: print(N) elif len(N) == 2: print("0" + N) else: print("00" + N)