Rounding

Write a program that reads a real number x0x\ge0 and prints x\lfloor x \rfloor (the floor of xx), x\lceil x \rceil (the ceiling of xx), and the rounding of xx.

Input

Input consists of a real number x0x \ge 0.

Output

Print the floor of xx, the ceiling of xx, and the integer number closer to xx (x\lceil x \rceil if there is a tie).

Problem information

Author: Jordi Petit

Generation: 2026-01-25T11:58:50.486Z

© Jutge.org, 2006–2026.
https://jutge.org