AtCoder Beginner Contest 157
A
Duplex Printing
AtCoder
⌀ 0
原题
←B →
翻译中…

Problem Statement

翻译中…

Takahashi wants to print a document with $N$ pages double-sided, where two pages of data can be printed on one sheet of paper.

翻译中…

At least how many sheets of paper does he need?

翻译中…

Constraints

翻译中…
  • $N$ is an integer.
  • $1 \leq N \leq 100$
翻译中…

Input

翻译中…

Input is given from Standard Input in the following format:

翻译中…

N

翻译中…

Output

翻译中…

Print the answer.

翻译中…

样例

Input #1
5
Output #1
3
By printing the $1$-st, $2$-nd pages on the $1$-st sheet, $3$-rd and $4$-th pages on the $2$-nd sheet, and $5$-th page on the $3$-rd sheet, we can print all the data on $3$ sheets of paper.
Input #2
2
Output #2
1
Input #3
100
Output #3
50
题目信息
题号
abc157_a
时间限制
2 s
内存限制
1024 MB

题面与样例版权归 AtCoder 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。