#D. 【例17.1】 双面打印

    Type: Default 1000ms 256MiB

【例17.1】 双面打印

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

说明

为了方便小蓝的学习,妈妈会把老师发放的材料打印出来。而为了环保,妈妈一般都进行双面打印,也就是一张纸的正反面都打印出相应的内容。举个例子来说:如果一份电子材料有 33 页,那么需要 22 张纸进行打印;如果一份电子材料有 44 页,那么还是需要 22 张纸进行打印。现在已经知道了一份电子版的学习材料的页数 NN,你能帮小蓝计算一下需要几张纸吗?

输入格式

整数 NN(0N10000≤N≤1000),代表一份电子版的学习材料的页数。

输出格式

双面打印所需纸的张数。

样例

7
4

7月5日16:00

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
6
Start at
2024-7-5 16:00
End at
2024-7-5 18:00
Duration
2 hour(s)
Host
Partic.
3