Tonight is brain dinner night and all zombies will gather together to scarf down some delicious brains. The artful Heidi plans to crash the party, incognito, disguised as one of them. Her objective is to get away with at least one brain, so she can analyze the zombies' mindset back home and gain a strategic advantage.

They will be N guests tonight: N - 1 real zombies and a fake one, our Heidi. The living-dead love hierarchies as much as they love brains: each one has a unique rank in the range 1 to N - 1, and Heidi, who still appears slightly different from the others, is attributed the highest rank, N. Tonight there will be a chest with brains on display and every attendee sees how many there are. These will then be split among the attendees according to the following procedure:

The zombie of the highest rank makes a suggestion on who gets how many brains (every brain is an indivisible entity). A vote follows. If at least half of the attendees accept the offer, the brains are shared in the suggested way and the feast begins. But if majority is not reached, then the highest-ranked zombie is killed, and the next zombie in hierarchy has to make a suggestion. If he is killed too, then the third highest-ranked makes one, etc. (It's enough to have exactly half of the votes – in case of a tie, the vote of the highest-ranked alive zombie counts twice, and he will of course vote in favor of his own suggestion in order to stay alive.)

You should know that zombies are very greedy and sly, and they know this too – basically all zombie brains are alike. Consequently, a zombie will never accept an offer which is suboptimal for him. That is, if an offer is not strictly better than a potential later offer, he will vote against it. And make no mistake: while zombies may normally seem rather dull, tonight their intellects are perfect. Each zombie's priorities for tonight are, in descending order:   survive the event (they experienced death already once and know it is no fun),  get as many brains as possible. 

Heidi goes first and must make an offer which at least half of the attendees will accept, and which allocates at least one brain for Heidi herself.

What is the smallest number of brains that have to be in the chest for this to be possible?


-----Input-----

The only line of input contains one integer: N, the number of attendees (1 ≤ N ≤ 10^9).


-----Output-----

Output one integer: the smallest number of brains in the chest which allows Heidi to take one brain home.


-----Examples-----
Input
1

Output
1

Input
4

Output
2



-----Note-----

Difficulty: EASY

Starter code:

Solutions:
import math
n = int(input())
ans = math.floor((n + 1) // 2)
print(ans)


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


import sys
import string
from collections import Counter, defaultdict
from math import fsum, sqrt, gcd, ceil, factorial
from itertools import combinations, permutations
flush = lambda : sys.stdout.flush
comb = lambda x, y: factorial(x) // factorial(y) // factorial(x - y)
ip = lambda : input()
ii = lambda : int(input())
r = lambda : map(int, input().split())
rr = lambda : list(r())
print((ii() + 1) // 2)


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


N = int(input().split()[0])
print(int((N + 1) / 2))


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


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


import sys, math

def rnd(x):
	a = int(x)
	b = x - a
	if b >= 0.5:
		a += 1
	return a
n = int(input())
print(rnd(n / 2))


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


def main():
	from sys import stdin, stdout
	from math import ceil
	stdout.write(str(ceil(int(stdin.readline()) / 2)))

def __starting_point():
	main()
__starting_point()


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


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


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


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


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


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


n = int(input())
print(n + 1 >> 1)


import sys

def main():
	x = int(input())
	temp = (x + 1) // 2
	print(temp)

def __starting_point():
	main()
__starting_point()


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


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


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


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


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


def zombi(n):
	return (n + 1) // 2
print(zombi(int(input())))


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