n = input() if len(n) == 3: print(n) elif (len(n) == 2): print('0' + n) else: print('00' + n)