peterverebics/CodeNet_Python_118 huggingface dataset:
N = int(input())
print(N/2 if N%2==0 else (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())

if N == 1:
  print(1)
elif N == 2:
  print(1)
else:
  if N % 2 == 1:
    print ((N / 2) + 1)
  else:
    print (N / 2)
i = int(input())
j= i/2
k= i/2 +1
if (i== k or i==j):
    print(int(j))
def main():
    n = int(input())
    if n % 2 == 1:
        print(n // 2 + 1)
    else:
        print(n / 2)


if __name__ == "__main__":
    main()
N = input()
if int(N) % 2 == 0:
  print(int(N) / 2)
else:
  print(int(N) / 2 + 0.5)
a = int(input())

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

if N%2==0:
  print(N/2)
else:
  print((N+1)/2)
A = int(input())
if A%2==1:
    A = (A/2)+0.5
else:
    A =A/2
print(A)
N = int(input())
num = N/2
if N%2==0:
    print(num)
else:
    print(round(num+0.5))
n = int(input())
if n % 2 == 0:
  print(n / 2)
else:
  print((n+1)/2)
num = input()
num = int(num)
 
print(int(num/2))
N = int(input())
if N % 2 ==1:
    print(N//2 +1)
else:
    print(N/2)
N = int(input())
if N % 2 == 0:
  print(N/2)
else:
  print(N//2+1)
N = int(input())
K = N % 2
S = (N + K) / 2 
print(S)
n = int(input())
if n%2 == 0:
  print(n//2)
else:
  print(n//2)
n = int(input())
g = n / 2
h = n % 2
print(g + h)
N = int(input())

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

if n%2 == 0:
  print(n/2)
else:
  print(math.ceil(n/2))
def main():
    n = int(input())

    print((n//2)+1)


if __name__ == "__main__":
    main()
hoge = int(input())
import math
print(math.floor(hoge/2))
n = int(input())

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

print(N // 2 + (0 if N % 2 == 0 else 0))
# -*- coding: utf-8 -*-
N = int(input())
g = N // 2
k = ( N + 1 ) // 1
if N % 2 == 0:
    print(g)
else:
    print(k)
N=input()
N=int(N)

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

if n%2 == 0:
    print(n/2)
elif n%2 == 1:
    print(n/2+1)
N = 23
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-1)/2)+1)
a = int(input())

if a % 2 == 0:
  num = a / 2
else:
  num = (a + 1) / 2

print(num)
N=int(input())
if N%2==1:
  a=int(N/2)
  print(a+1)
else:
  b=N/2
  print(b)
import sys
import numpy as np

# input = sys.stdin.readline

n = int(input())

print(round(n))
num=int(input())
i=0
while num>=2*int(i):
	i=i+1
print(i)
n = int(input())
if(n%2 == 0):print(n/2)
else:print(int(n/2)+1)
n = int(input())

s = n//2
t = n%2

if t ==1:
    print(s+1)
if t ==0:
    print(s+1)
N = int(input())

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

N = int(input())

number_of_pages = math.floor(N / 2)

print(number_of_pages)
N = int(input())
if N % 2 ==0:
  print(N/2)

else:
  print((N/2)+1)
# -*- coding: utf-8 -*-
n = int(input())
if n%2 == 0:
    print(int(n/2))
else:
    print(int(n//2))
N = int(input())
if N%2:
  print(N//2+1)
else:
  print(N/2)
n = input()
n = int(n)
if(n%2 == 0):
	n= n/2
else:
	n = (n+1)/2
   
print(n)
#N,K = map(int,input().split())
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())
if N%2==0:
  print(N/2)
else:
  print(N/2+1)
N = int(input())
ansewr = 0
if  N % 2 != 0 :
  answer = N//2 + 1
else:
  answer = N / 2

print(answer)
#A
n = int(input())
print(n // 2 + 1)
N = input()
N = int(N)
num_paper = N / 2
if (N % 2) > 0:
  num_paper += 1
else:
  pass

print(num_paper)
a=int(input())
b=a//2
if b==1:
  b=b+1
print(b)
from sys import stdin

N = stdin.readline().rstrip()
print('Yes' if '7' in N else 'No')
n = int(input())

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

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

if a%2==0:
    print(d)
else :
    print(e)
N=int(input())
mod=N%2
if(mod==0):
    num=N/2
    print(num)
elif(mod==1):
    num=N/2
    print(round(num+0.5))
n = input()
if n % 2 == 0:
  print n % 2
else:
  print n % 2 + 1
x = int(input())
ans = x//2 
if (x&2==1):
	x += 1
print(ans)
a=int(input())
if a%2==0:
  ans=a/2
else:
  ans=(a-1)/2+1
print(ans)
n = int(input())

if n % 2 == 0:
  print(n / 2)
else:
  print(n // 2 + 1)
#!/usr/bin/env python
# -*- coding: utf-8 -*-

N=int(input())

if N%2==0:
  print(N/2)
else:
  print((N+1)/2)
user_input = int(input("Enter docs: "))
check = user_input % 2
if check == 0:
    print(user_input//2)
else:
    print(user_input//2 + check)
n=int(input())
if n%2==0:
  print(n/2)
if not n%2==0:
  print(n/2+1)
def resolve():
    N = int(input())
    print(N//2 if N%2==0 else N//2+1)
N = int(input())
if N % 2 != 0:
    ans = (N//2)+1
if N % 2 == 0:
    ans = (N/2)
print(round(ans,N))
N = int(input())
print(N/2) if N%2==0 else print(N//2+1)
N = int(input())

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

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

print(ans)
n = int(input())
ans = n % 2 + ((n % 2) * 1)
print(ans)
n = int(input())
if n % 2 ==0 :
    print(n / 2)
elif n % 2 == 1 :
    print(n / 2 + 1)
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+1)/2)
N=int(input())
if N%2==0:
 print(N/2)
else:
 print ((N+1)/2)
N = int(input())

A = N // 2 + 1
print(N)
def math(N):
 if N%2==0:
  return N//2
 else:
  return (N+1)//2
n=int(input())
if n%2==0:
    print(n/2)
else:
    print(int(n/2)+1)
N = int(input()) 
if N % 2 == 1:
    print((N//2) + 1)
else:
    print(N/2)
N = input()
M = int(N)
jud = M % 2
if jud == 1:
    ans = M // 2 + 1
else:
    ans = M / 2
print(ans)
N = int(input())
if N % 2 == 0:
    print(N/2)
else:
    print(N//2 +1)
n = int(input())
if n != int or n < 0 or n > 100:
    pass
else:
    x = n / 2
    r = n % 2
    if r != 0 :
        print(x+r)
    else:
        print(x)
N = int(input())
print(N/2 if N % 2 == 0 else N//2 + 1)
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)
N = int(input())

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

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

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

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

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

ans=0
print(N)

if N>=1 and N<=100 :
  ans =N/2
  if N%2==1:
    ans = ans+1
    
print(int(ans))
N=int(input())
if N%2==0:
  print(N/2)
else:
  print((N//2)+1)
n=int(input())
p = n // 2
if p:
    print(p+1)
else:
    print(p)
n = int(input())
if n % 2 == 0:
  ans = n/2
  print(ans)
else:
  ans = (n+1)/2
  print(ans)
N = int(input())
P = N//2 + 1
print(P)
n=int(input())

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

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

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

# n = list(map(int, input().split()))
print(m//2)
n = int(input())
ans = round(n / 2)
print(ans)
n = int(input())
if n%2 ==0:
  print(n/2)
else:
  print(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(int(N/2)+1)
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 == 1:
    print(N)
else:
    print((round(N/2)))
s = int(input())
print(s/2 if s%2 == 0 else int(s/2)+1)
n = int(input())

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

if pages%2==0:
    print(papers)
else:
    print(papers-1)
N = int(input())
if N // 2 != 0:
    ans = (N // 2)+(N % 2)
else:
    ans = N // 2
print(ans)
N = int(input())

if N%2 == 0:
  print(N/2)
else:
  print(N/2 + 1)
N = int(input())
a=N/2
b=N%2
if b == 0:
  print(a)
elif b == 1:
  print(a+0.5)
else:
  print("error")
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())
if n%2==0:
  print(n/2)
else:
  print(n/2+1)
#A
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)
first = input()
N = int(first)
N /=2
N+=1
N = int(N)
print(N)
N=10
k=N%2
if k==0:
    print(round(N/2.0))
else:
    print(round(N/2+1/2.0))
n = int(input())
if n % 2 == 0:
    print(n//2+1)
else:
    print(n//2)
N = int(input())

if N % 2 == 0:
  print(N/2)
else:
  print(N/2 + 1)
input = int(input("Enter N number: "))
if input >= 1 and input <= 100:
    result = input - input // 2
    print(result)
else:
    print('Invalid input')
n = int(input())
if n != int and (n < 0 or n > 100):
    pass
else:
    x = n / 2
    r = n % 2
    if r != 0 :
        print(x+r)
    else:
        print(x)
n = input()
a = int(n)
b = a//2+1
print(b)
def main():
  x = input()
  if(x % 2 == 0):
    print(x//2)
  else:
    print(x//2 + 1)

if __name__ == 'main__':
  main()
N=int(input())

if N%2==1:
	print(N//2+1)
  
else:
  print(N/2)
N = input()
if int(N) % 2 == 0:
  print(int(N) / 2)
else:
  print(round(int(N) / 2 + 0.5))
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(int(2*n+1)/2)
x = int(input())
pagenum = x//2 + 1
print(pagenum)
doc = int(input(''))
if doc % 2 == 0 :
          print ( doc / 2 )
else :
    print (doc / 2 + 0.5 )
N = int(input())
xx = 0
if N % 2 == 1:
    xx = (N / 2) + 1
else:
    xx = (N / 2)
print(xx)
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(int(N/2)+1)
N = int(input())
mod = N % 2
if mod == 0:
    n = N/2
    print(n)
else:
    n =(N+1)/2
    print(n)
n=int(input())
if n%2==0:
  print(n/2)
elif n%2==1:
  print((n+1)/2)
N = input()
temp = int(N) % 2
if temp == 0:
	print(int(N)/2)
else:
	print((round(int(N)/2)+1))
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(int(n/2)+1)
n = int(input())
if n%2 ==0:
  print(n/2)
else:
  print(n//2 + 1)
N = int(input())
print(int(N//2 + 0.5))
num = int(input())

calc = num % 2

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

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


if __name__ == '__main__':
    main()
N = int(input())
if N%2==0:
  print(N//2)
if N==1:
  print("1")
if N==3:
  print("2")
if N%2==1:
  print(N//2+1)
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 + 1) / 2)
N = int(input())
ans = 0
if(N%2 == 0):
  ans = N/2
else:
  ans = N/2 + 1
  
print(ans)
n=int(input())

if n/2==0:
    print(n/2)
else:
    print((n+1)/2)
a = int(input())
print(a/2 if a % 2 == 0 else a//2+1)
import math
N = int(input())
ans = math.ceil(N / 2)
print(ans)
N=int(input())

if N%2==0:
    print(N/2)

else:
    print(round(N/2)+1)
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)
if n%2==1:
  print((n+1)/2)
N = int(input())
a = N/2 
b = N%2
print(a+b)
import math
N = int(input())
if N % 2 == 0:
    p = N/2
else:
    p = math.floor(N/2) + 1
print(p)
import math
n = int(input())
print(math.floor(n+1)/2)
def q1(N):
  if N%2 == 1:
    N = N+1
  print(N/2)
#--------------------------------------------
#ライブラリ呼び出し
import sys
import math
#from math import sqrt
#--------------------------------------------
N = int(input())
print((N//2)+1)
#!/usr/bin/env python3
import collections
import itertools as it
import math
import numpy as np

# A = input()
# A = int(input())
# A = map(int, input().split())
# A = list(map(int, input().split()))
# A = [int(input()) for i in range(N)]
#
# c = collections.Counter()

print()
a = int(input())
out = round(a/2, 0)
print(int(out))
n = input()
s = int(n)%2
if s == 1:
  print(int(n)/2 + 1)
else:
  print(int(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 = 3
if N % 2 == 1:
	n = N + 1
else:
	n = N
print(int(n / 2))
a=int(input())
if a%2==0:
  print(a/2)
else:
  print(a//2+1)
import math
N = input()
n = int(N)
math.floor(n/2)
n = int(input())
if n%2 ==0:
  print(n//2)
else:
  print(n//2)
n = int(input())
if n % 2 ==0:
  print(n / 2)
else:
  print(n % 2 + 1)
N = int(input())
if(1<=N<=100):
    print(int(N/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+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(int(n/2))
num = int(input())
a = num/2 + num % 2
print(a)
N = int(input())

print(N // 2 + (N % 2 if 0 else 1))
N=int(input())
if N%2==0:
  print(N/2)
else:
  print(int(N/2)+1)
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)+1)
else:
	print(N/2)
def main():
    N = int(input())
    if N%2 == 1:
      print((N+1)/2)
    else:
      print(N/2)
main()
N = int(input())
num = N/2
if N%2==0:
    print(num)
else:
    print(round(N/2)+1)
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(int(N/2)+1)
n = int(input())
if n // 2:
    print(n // 2 + 1)
else:
    print(n // 2)
a = int(input())
if a%2 == 0:
  print(a/2)
else:
  print(a//2 +1)
n = int(input())
x = n / 2
r = n % 2
if r != 0 :
    print(int(x+0.5))
else:
    print(x)
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+1)/2)
import numpy as np

N=int(input())
#a = list(map(int, input().split()))
m = N%2 
if (m == 0):
    print(N/2)
else:
    print(N/2+1)
#for x in range(0,N,1):
n = int(input())
ans = n / 2

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

if N % 2 != 0:
  print(N/2)
else:
  print((N/2)+1)
N = int(input())
if N<2:
    print(0)
else:
    if N%2 == 0:
        print(N//2)
    else:
        print(N//2+1)
N=int(input())
if N%2==0:
	print(round(N/2))
else:
	print(round(N/2)+1)
a = int(input())
b = int(a / 4)
if (a % 4 !=0):
    b+=1
print(b)
N=int(input())

if N%2==0:
    print(N/2)

else:
    print(int(N/2)+1)
N = '1'
if N.isdigit() and int(N) >= 1 and  int(N) <= 100:
  if int(N) % 2 == 0:
    ans = int(N) / 2
  else:
    ans = (int(N) - 1) / 2 + 1
  print(int(ans))
else:
  print('error')
N = int(input())
if N % 2 == 0:
    N /=2
    print(N)
else:
    N /=2
    N+=1
    N = int(N)
    print(N)
n = int(input())
if n % 2 == 1:
  print(int((n-1) / 2))
  exit(0)
print(int(n/2))
n = int(input())
print(n // 2 + 1 if n % 2 else 0)
n = int(input())

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

N=int(input())
if N%2==0:
    print(N/2)
else:
    print(math.ceil(N/2))
N = int(input())
num = N/2
nume = N/4
if N%2==0:
    print(num)
else:
    print(nume)
n = int(input())

if n % 2 == 0:
    print(int(n/2))
else:
    print(int((n-1)/2))
N = int(input(""))

if N % 2 == 0:
  print(N/2)
  
if N % 2 != 0:
  print((N//2)+1)
def main():
    n = int(input())
    print(round(n/2))


if __name__ == "__main__":
    main()
def main():
    N = int(input())
    print(round((N+1)/2))


if __name__ == '__main__':
    main()
# coding: utf-8
# Your code here!

S = int(input())

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

if N%2==0:
    print(N/2)

elif N%2==1:
    print(int(N/2)+1)
q, mod = divmod(int(input()), 2)
q+=1 if mod == 1 else q
print(q)
a = [1,2,3,4,5] + [5]*0
print(a)
exit()

n,m = map(int,input().split())
s = []
c = []
for i in range(m):
  S,C =  map(int,input().split())
  s.append(S)
  c.append(C)
  
num = [1] + [0]*(n-1)
ans = ''
 
for i in range(m):
  if n!=1 and s[i] == 1 and c[i] == 0:
    print(-1)
    exit()
  elif len(set(s)) < len(set(c)):
    print(-1)
    exit()
    
for i in range(m):
  num[s[i]-1] = c[i]
  
for i in range(n):
  ans += str(num[i])
  
print(ans)
n = int(input())

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

print(answer)
import math

N = int(input())
ans = 0

if(N%2 == 0):
  ans = N/2
else:
  ans = math.floor(N/2) + 1
  
print(ans)
n = int(input())
ans = n // 4 if n % 4 == 0 else n // 4 + 1
print(ans)
import sys
import math
import fractions
import itertools
from collections import deque
import copy
import bisect

MOD = 10 ** 9 + 7
INF = 10 ** 18 + 7
input = lambda: sys.stdin.readline().strip()

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

ans = round(N / 2)

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

print(N / 2 if not N % 2 else N // 2+1)
n = int(input())
if n%2 == 1:
    print((n+1)/2)
else:
    print(n/2)
import math
page = int(input("num: "))
print(math.ceil(page/2))
import math

n = int(input())
print(math.floor(n / 2))
x = int(input()) 
print(x / 2 + 1 if x % 2 != 0 else x / 2)
page = int(input())
if page%2 == 1:
	page+=1

answer = page/2
print(answer)
n = int(input())
if n/2 == 0:
    print(n//2)
else:
    print(n//2 + 1)
import math
N = int(input())
if( N%2 == 0 ):
  print(N/2)
else:
  print(math.ceil((N/2)))
def main(N):
  if N%2 == 0:
    return N/2
  else:
    return(N+1)/2
n = int(input())

if n % 2 == 0:
    print(n / 2)
else :
    print(n // 2 + 1)
a = int(input())
print(a/2 if a % 2 == 0 else a/2+1)
n = int(input())
ans = 0
if n % 2 == 0:
  ans = n / 2
else:
  ans = n / 2 + 1
print(ans)
x = int(input())
if(x%2 == 0):
  print(x/2)
else:
  print(x/2 +1)
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())
if N//2 == 0:
    print(N//2)
else:
    print((N//2)+1)
N = int(input())
a = N % 2
my_result = N + a
print(my_result)
s=input()
a=int(s)
d=a/2
e=(a+1)//2

if a%2==0:
    print(d)
else :
    print(e)
N = int(input())

if N % 2 == 0:
  res = N/2
else:
  res = N//2 + 1

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

if N%2==0:
    print(int(N/2))
else:
    print(int(round(N/2)+1))
n = int(input())
if (n is int) or (n > 0 and n < 100):
    x = n / 2
    r = n % 2
    if r != 0 :
        print(int(x+0.5))
    else:
        print(x)
N = int(input())
n = int(N/2)
print(n+1)
s = input().strip()
s = int(s)

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

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

print(ans)
a = input()
if 'A' in a and 'B' in a:
    print("Yes")
else:
    print("No")
n = int(input())
if n%2 == 0:
  print(n%2)
else:
  print(n%2 + 1)
N=11
k=N%2
if k==0:
    print(N/2)
else:
    print(N/2+0.5)
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())
if n%2==0:
  print(n/2)
else:
  print(n/2+0.5)
n =int(input())

if n%2:
    print((n+1)/2)
else:
    print(n/2)
n = input()
s = int(n)%2
if s == 1:
  print(int(n)/2 + 0.5)
else:
  print(int(n)/2)
N=int(input())
if N%2==0:
    print(N/2)
else:
    print(N//2+1)
import numpy as np

N = int(input())

print(np.ceil(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())
if N % 2 == 0:
  n = N/2
else:
  n = (N+1)/2
print(n)
n=int(input())
if n%2==0:print(n//2)
else:print(n//+1)
# coding: utf-8
def main():
    n = int(input())
    if n % 2 == 0:
        print(n/2)
    else:
        print(int(n//2) + 1)
            
if __name__ == '__main__':
    main()
N = int(input())

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

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

if(N%2==0):
  print(N/2)
else:
  print(int(N/2)+1)
n = int(input())
res = n // 2 
print(res + (res & 2))
n = int(input())
a = n / 2
if n % 2 == 0:
    print(a)
else:
    print(int(a)+1)
N=int(input())
#xs = [int(x) for x in input().split()]




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

if __name__ == "__main__":
    main()
N = int(input())
if(N % 2 == 0):
    s = N / 2
else:
    s = N // 2 + 1

print(s)
n = int(input())
if n % 2 <= 0 :
    print(n / 2)
elif n % 2 >= 1 :
    print(n // 2 +1)
N = int(input())
check = N % 2
if check == 0:
  answer = N / 2
else:
  answer = (N + 1) / 2
print(answer)
n = int(input())
if n % 2 == 1:
    print(n//2 + 1)
else: print(n/2)
n=int(input())
if n%2 == 0:
  print(n/2)
else:
  print(int(n/2)+1)
n=int(input())

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

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

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

if 0==n/2:
  n=n/2
  print(n)
else:
  n=n//2+1
  print(n)
n,r=map(int,input().split())

if n>=10:
    print(r)
else:
    print(r+(100*(10-n)))
import sys
sys.setrecursionlimit(10**9)
INF=10**18
MOD=10**9+7
def input(): return sys.stdin.readline().rstrip()

def main():
    N,R=map(int,input().split())
    print(R+100*max(0,(10-N)))

if __name__ == '__main__':
    main()
import sys
input = sys.stdin.readline

def main():
    n,r=map(int,input().split())
    if n>=10:
        print(r)
    else:
        print(int(100*(10-n)+r))


if __name__ == '__main__':
    main()
n, r = input().split()
n = int(n)
r = int(r)

if n > 10:
    print(r)
    
else:
    print((10 - n)* 100 + r)
# cook your dish here
a,b=map(int,input().split())
if(a>=10):
    print(b)
else:
    print((10-a)*100+b)
def main(n, r):
    if n >= 10:
        print(r)
    else:
        print(r + 100 * (10 - n))


if __name__ == "__main__":
    n, r = map(int, input().split())

    main(n, r)
a,b=input().split()
a=int(a)
b=int(b)
if a>=10:
    print(b)
else:
    c=b-100*a+1000
    print(c)
N, R = map(int, input().split())

ans = 100*(10-N)+R
if N>=10:
  print(R)
else:
  print(ans)
[N,R] = list(map(int,input().split()))
if N>=10:
    I=R  #内部レーティング
    
else:
    I=R+100*(10-N)
print(I)
N, R = map(int, input().split())
if N < 10:
    n2=100*(10-N)
    R2 = R+n2
    
elif N >= 10:
    R2 = R
    
print(R2)
N,R = map(int,input().split())
if N>=10:
  Ans = R
else:
  Ans = R+100*(10-N)
print(Ans)
N, R = map(int, input().split())

if N < 10:
  print(R + 100*(10-N))
else:
  print(R)