print(f"{int(input()):03d}")