A - Double-Sided Printing Editorial /

Time Limit: 2 sec / Memory Limit: 1024 MiB

配点 : 100 点

問題文

正整数 N が与えられます。

N ページからなる資料をコピー用紙に印刷します。

印刷には両面印刷を使い、コピー用紙 1 枚の表と裏にそれぞれ 1 ページずつ印刷することができます。

N ページを全て印刷するために必要なコピー用紙の枚数の最小値を求めてください。

制約

  • 1\le N\le 100
  • 入力される値は整数

入力

入力は以下の形式で標準入力から与えられる。

N

出力

答えを出力せよ。


入力例 1

3

出力例 1

2

1 枚のコピー用紙の両面に、もう 1 枚のコピー用紙の片面に印刷することで 2 枚のコピー用紙で 3 ページ印刷することができます。


入力例 2

6

出力例 2

3

入力例 3

59

出力例 3

30

Score : 100 points

Problem Statement

You are given a positive integer N.

You will print a document consisting of N pages on sheets of copy paper.

You will use double-sided printing, so one page can be printed on each of the front and back of a sheet.

Find the minimum number of sheets of copy paper needed to print all N pages.

Constraints

  • 1\le N\le 100
  • N is an integer.

Input

The input is given from Standard Input in the following format:

N

Output

Print the answer.


Sample Input 1

3

Sample Output 1

2

By printing on both sides of one sheet of copy paper and on one side of another, you can print 3 pages using 2 sheets.


Sample Input 2

6

Sample Output 2

3

Sample Input 3

59

Sample Output 3

30