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