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.

-----Sample Input-----
5

-----Sample Output-----
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.

Difficulty: introductory

Starter code:

Solutions:
print(-(-int(input()) // 2))

n=int(input())
if n%2==0:
    print(n//2)
else:
    print(n//2+1)

n = int(input())
print(((n+2-1)//2))


n=int(input())
if n%2==0:
    print(n//2)
else:
    print(n//2+1)

print(int((int(input())+1)/2))

def main():
    n = int(input())
    cnt = 0
    ans  = 0

    while cnt < n:
        cnt += 2
        ans += 1
    return ans

def __starting_point():
    print(main())
__starting_point()

n = int(input())
print(((n + 1) // 2))


import math
print(math.ceil(int(input())/2))

print(((int(input())+1)//2))


import math
N = int(input())
print(math.ceil(N/2))

N = int(input())

print((N // 2 + 1 if N % 2 else N // 2))


n = int(input())
if n % 2 == 0:
    print(n//2)
else:
    print(n//2+1)

import math

N = int(input())

print(math.ceil(N/2))

n=int(input())
 
s=n%2
l=n//2
 
if s==1:
  print((l+1))
else:
  print(l)


n=int(input())
print([n//2+1,n//2][n%2==0])

import math
num = int(input())
print(math.ceil(num/2))

n = int(input())
print(n // 2 + n % 2)

print((int(input())+1)//2)

N=int(input())
if(N%2==0):
  print(N//2)
else:
  print((N+1)//2)

N = int(input())
if N % 2 == 0:
  print(N//2)
else:
  print(N//2 + 1)

print(-(-int(input())//2))

print(0-int(-int(input())//2))

# 整数の入力
N = int(input())

print((N + 1)//2 )

import math
n = input()
paper = int(n) / 2

print((math.ceil(paper)))


n = int(input())
if n % 2 == 0:
    print(n//2)
else:
    print(n//2+1)

n=int(input())
print((n//2)+(n%2))

N = int(input())
print(((N+1)//2))


n = int(input())
 
print(int(n / 2) if n % 2 == 0 else int(n / 2 + 1))

n = int(input())

a = n // 2
b = n % 2

print((a+b))


N=int(input())
if N%2==0:
    print(N//2)
else:
    print(N//2+1)

n = int(input())
if n % 2 == 0:
    print(n//2)
else:
    print(n//2+1)

n = int(input())
print(n//2 if n%2 == 0 else n//2+1)

n=int(input())
print(int(n/2) if n%2!=1 else n//2+1)

import math as mt
n=int(input())
print(mt.ceil(n/2))

import math

n=int(input())

print(math.ceil(n/2))

N=int(input())

a=N//2
if N%2!=0:
    a+=1
print(a)

n = input()
print(int((int(n) + 1) / 2))

import math
N = int(input())
print(math.ceil(N/2))

N = int(input())
if N%2 == 0:
    print(N//2)
else:
    print(N//2+1)

print(((int(input())+1)//2))

n = int(input())
if n % 2 == 1:
  print(n // 2 + 1)
else:
  print(n // 2)

n = int(input())
print(n // 2 if n % 2 == 0 else n // 2 + 1)

import math
n = int(input())
print(int(math.ceil(n/2)))

n = int(input())
if n%2 == 0 :
    ans = n//2
    print(ans)
else :
    ans = n//2 + 1
    print(ans)

N=int(input())
print((int((N+2-1)/2)))


n=int(input())
print((n+1)//2)

import math
N = int(input())

print (math.ceil(N/2))

n = int(input())
print(((n+1) // 2))


n = int(input())

if n % 2 == 0:
    print(int(n/2))
else:
    print(n//2 + 1)

# coding: utf-8
# Your code here!
n = int(input())

amari = n % 2

if amari > 0:
    print((n//2 + 1))
else:
    print((n//2))


print((int(input())+1)//2)

n = int(input())

print(((n + 1) // 2))


n = int(input())

print((n+1)//2)

N=int(input())

if N%2==1:
  N+=1
print(int(N/2))

N = int(input())
print(-(-N // 2))

n = int(input())
ans = n // 2
if n % 2 != 0:
    ans += 1

print(ans)


N = int(input())
import math
print(math.ceil(N/2))

n = int(input())
import math

if n % 2 == 0:
    print(math.floor(n / 2))

else:
    n = n + 1
    print(math.floor(n / 2))

n = int(input())
a = n / 2
if n % 2 == 0:
    print(int(a))
else:
    print(int(a)+1)

n = int(input())
import math
print(math.ceil(n/2))

n = int(input())

print(n//2 + n%2)

n = int(input())

div = -(-n // 2)

print(div)

n = int(input())
if n % 2 == 1:
  print(n // 2 + 1)
else:
  print(int(n / 2))

N=int(input())
print(int((N+2-1)/2))

N = int(input())

print(N//2 + N % 2)

print(-(-int(input())//2))

N=int(input())
if N%2==0:
    print(str(N//2))
else:
    print(str(N//2+1))

N = int(input())
print(((N + N % 2) // 2))


n = int(input())
print(n//2 if n % 2 == 0 else (n+1)//2)

x = int(input())
if x%2 == 0:
  print(int(x/2))
else:
  print(int(x/2 + 0.5))

n=int(input())
if n%2==0:
  print(int(n/2))
if not n%2==0:
  print(int(n/2+1))

n = int(input())
print(((n+1)//2))


N=int(input())
print((N+1)//2)

N=int(input())
print((N+1)//2)

N = int(input())

if N%2 == 0:
  print(N//2)
else:
  print(N//2 + 1)

import math

print((math.ceil(int(input()) / 2)))


import math
x = int(input())
print(math.ceil(x/2))

def resolve():
	n = int(input())
	print(n//2+(n%2!=0))

resolve()

N = int(input())
#----------以上入力----------
if N % 2 == 0:
    print (int(N/2))
if N % 2 == 1:
    print (int(N/2)+1)

import os, sys, re, math

N = int(input())

print(((N + 1) // 2))


N = int(input())

if N % 2 == 0:
  print(N//2)
  
else:
  print(N//2 + 1)

import math
n = int(input())
print(math.ceil(n/2))

n=int(input())
print(n//2) if n%2==0 else print(n//2+1)


print((int(input())+1)//2)

from math import ceil

n = int(input())

ans = ceil(n/2)
print(ans)

d = int(input())

if d % 2 == 0:
  print(d//2)
else:
  print((d//2)+1)

n = int(input())
a = int((n+2-1)/2)
print(a)

N = int(input())
if(N % 2 == 0):
    print(N//2)
else:
    print((N//2) + 1)

def main():
    n = int(input())
    if n % 2 == 0:
        print((int(n/2)))
    else:
        print((int(n/2)+1))
        
def __starting_point():
    main()

__starting_point()

n = int(input())
print(int((n + 1) / 2))

N = int(input())

if N % 2 == 0:
    print(N // 2)
else:
    print(N // 2 +1)

N=int(input())
if N%2 == 0:
  print(N//2)
else:
  print(N//2+1)

n=int(input())
print((n//2)+(n%2))

n = int(input())

if n % 2 == 0:
  print(n//2)
else:
  print((n+1)//2)

N = int(input())
if N%2 == 0:
    print(N//2)
else:
    print(N//2 + 1)

n = int(input())

if n%2 == 0:
  print(n//2)
else:
  print(n//2+1)

n = int(input())
print(-(-n//2))

import math

a = int(input())

print(math.floor((a + 1) / 2))

N=int(input());print(N//2+(N%2))

n = int(input())
ans = n // 2
if n % 2 == 0:
    print(ans)
else:
    print((ans+1))