s = input() for i in range(3 - len(s)): t = i * "0" print(s + t)