s = input()
while len(s) < 3:
	s = "0" + s
print(s)