N = input() x = len(N) print('0'*(3-x) + N)