5573: Water Station水站(ABC305A)

内存限制:1024 MB 时间限制:2.000 S
评测方式:文本比较 命题人:
提交:0 解决:0

题目描述

 Problem Statement:

There is an ultramarathon course totaling $100\;\mathrm{km}$. Water stations are set up every $5\;\mathrm{km}$ along the course, including the start and goal, for a total of $21$.

Xiaoniu is at the $N\;\mathrm{km}$ point of this course. Find the position of the nearest water station to him.

Under the constraints of this problem, it can be proven that the nearest water station is uniquely determined.

有一条全长为$100\;\mathrm{km}$的超级马拉松赛道。沿着赛道每 $5\;\mathrm{km}$设置一个水站,包括起点和终点,总共21个水站。
小牛位于赛道的$N\;\mathrm{km}$处。找到离他最近的水站的位置。
在问题的限制条件下,可以证明最近的水站是唯一确定的。

输入

N

输出


Print the distance between the start and the water station nearest to Xiaoniu, in kilometers, in a single line.

在一行中打印起点到离小牛最近的水站的距离,单位为公里。



样例输入 复制

53

样例输出 复制

55

提示

 Constraints:

-   $0\leq N\leq100$

-   $N$ is an integer.


Xiaoniu is at the $53\;\mathrm{km}$ point of the course. The water station at the $55\;\mathrm{km}$ point is $2\;\mathrm{km}$ away, and there is no closer water station. Therefore, you should print $55$.

【样例1说明】
高桥位于赛道的53km处。 位于55km处的水站离他2km远,没有更近的水站。 因此,你应该打印55。

来源/分类