Problem:


Score : 100 points

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.

Sample Input 1

5

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

Sample Input 2

2

Sample Output 2

1

Sample Input 3

100

Sample Output 3

50



Sample input:
5


Sample output:
3

Submission status: Wrong Answer

Solution code:
N=input("")
N=int(N)
if 1<=N<=100:
  if N%2==0:
    N=N/2
    print(N)
  else:
    N=(N+1)/2
    print(N)
else:
  None

Submission status: Wrong Answer

Solution code:
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')

Submission status: Wrong Answer

Solution code:
N = int(input())

print(round(N/2))

Submission status: Wrong Answer

Solution code:
import sys

n = int(sys.stdin.readline())
rem = n%2
print(n//2 + 1)

Submission status: Wrong Answer

Solution code:
import sys
n = int(sys.stdin.readline())
rem = n%2
print(n/2 + rem)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n = int(input())

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

Submission status: Wrong Answer

Solution code:
n = int(input())

print(n//2)

Submission status: Wrong Answer

Solution code:
N=int(input())
M=N+1

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n = int(input())
print(n/2+n%2)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n = input()
a = int(n)
b = a//2+1
print(b)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
num=int(input())
i=0
while num>=2*int(i):
	i=i+1
print(i)

Submission status: Wrong Answer

Solution code:
N = int(input())
a=N/2
b=N%2
if b == 0:
  print(a)
elif b == 1:
  print(a+0.5)
else:
  print("error")

Submission status: Wrong Answer

Solution code:
import math

N = int(input())

if N % 2 == 0:
    M = N/2
    print(M)
else:
    M = N/2 + 1
    print(math.floor(M))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
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)

Submission status: Wrong Answer

Solution code:
N = int(input())
print(N/2+1)

Submission status: Wrong Answer

Solution code:
n = int(input())
ans = n // 2

if n % 2:
    print(ans)
else:
    print(ans + 1)

Submission status: Wrong Answer

Solution code:
n = int(input())
ans = n / 2

if n % 2:
    print(ans)
else:
    print(ans + 1)

Submission status: Wrong Answer

Solution code:
n = int(input())
ans = (n / 2) + 1
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = int(input())
pagenum = x//2 + 1
print(pagenum)

Submission status: Wrong Answer

Solution code:
num = int(input())

calc = num % 2

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

Submission status: Wrong Answer

Solution code:
x = input()

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

Submission status: Wrong Answer

Solution code:
N=int(input())
from math import ceil
print (ceil(N//2))

Submission status: Wrong Answer

Solution code:
import math
n = int(input())
math.ceil(n/2)

Submission status: Wrong Answer

Solution code:
a = int(input())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

n=105

print(math.ceil(n/2))

Submission status: Wrong Answer

Solution code:
n=int(input())

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

Submission status: Wrong Answer

Solution code:
a = int(input())

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

print(num)

Submission status: Wrong Answer

Solution code:
n=int(input())
print(int((n+0.5)/2))

Submission status: Wrong Answer

Solution code:
# from fractions import gcd
# mod = 10 ** 9 + 7
# N = int(input())
# a = list(map(int,input().split()))
# a,b,c = map(int,input().split())
# ans = [0] * N
# math.ceilで切り上げ
# dp = [[0] * 4 for i in range(3)] #2次元配列初期化
# dp = [[[0] * 2 for i in range(3)] for j in range(5)]
# (ord('A'))でASCII出力 Aは65
import math
import statistics
import string


def intinput():
    return int(input())
def listintinput():
    return list(map(int, input().split()))
def splitintinput():
    return map(int, input().split())
def factorialsurplus(x, y, z):  # xからyまでの階乗をzで割ったあまりを求める
    ret = 1
    for i in range(x, y + 1):
        ret = (ret * i) % z
    return (ret)
def isprime(x):
    if x == 1:
        return False
    if x == 2:
        return True
    sq = int(math.sqrt(x))
    for i in range(2,sq+1):
        if x % i == 0:
            return False
    return True
def hcfnaive(a,b):#最大公約数 math.gcdが使えない時の手段として入れとく。pythonが更新されたらいらなくなるはず
    if(b==0):
        return a
    else:
        return hcfnaive(b,a%b)

N = intinput()
print(math.ceil(N))

Submission status: Wrong Answer

Solution code:
print(int(int(input())+1/2))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N = int(input(""))

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

Submission status: Wrong Answer

Solution code:
int(int(input())/2+0.5)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n=int(input())
print((n//2)+1)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N = int(input())

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

Submission status: Wrong Answer

Solution code:
N = int(input())

print((N+N%2)/2)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N=int(input())
pages=N // 2
print(pages)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N=101
if N%2 == 0:
  print(int(N/2))
else:
  print(int(round(N/2)+1))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n = int(input())
print((n//2)+1)

Submission status: Wrong Answer

Solution code:
n = int(input())
print((n/2)+1)

Submission status: Wrong Answer

Solution code:
print(-(-int(input()))//2)

Submission status: Wrong Answer

Solution code:
print('How many pages in total? less or equal to 100')
N=input()
N = int(N)
if (N % 2 == 0):
  n= N/2
else:
    n = (N+1)/2
print(int(n))

Submission status: Wrong Answer

Solution code:
a = int(input())
out = round(a/2, 0)
print(int(out))

Submission status: Wrong Answer

Solution code:
a = int(input())
out = round(a/2, 0)
print(out)

Submission status: Wrong Answer

Solution code:
a=int(input())

if a%2==1:
    an=(a+1)/2
else:
    an=a/2
print(an)

Submission status: Wrong Answer

Solution code:
n = int(input())
print(n // 2 + 2 % 2)

Submission status: Wrong Answer

Solution code:
x = int(input())
ans = x//2 
if (x&2==1):
	x += 1
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n = int(input())
ans = n / 2
print(ans)

Submission status: Wrong Answer

Solution code:
n = int(input())

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

Submission status: Wrong Answer

Solution code:
N = input()
N = int(N)
num_paper = N / 2
if (N % 2) > 0:
  num_paper += 1
else:
  pass

print(num_paper)

Submission status: Wrong Answer

Solution code:
n = input()
if n % 2 == 0:
  print n % 2
else:
  print n % 2 + 1

Submission status: Wrong Answer

Solution code:
n=int(input())
a=-(-n//2)
print(n)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N = input()
print(N)

Submission status: Wrong Answer

Solution code:
page = int(input())
if page%2 == 1:
	page+=1

answer = page/2
print(answer)

Submission status: Wrong Answer

Solution code:
def main():
    N = int(input())
    print(round((N+1)/2))


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
N=int(input())
if N/2.0>int(N/2.0):
    print(int(N/2.0)+1)
else: print(N/2.0)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n = -(- int(input()) // 2)

Submission status: Wrong Answer

Solution code:
import math
print(int(math.ceil(int(input()))))

Submission status: Wrong Answer

Solution code:
N=int(input())

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N=int(input())
S=int(N/2)
print(S)

Submission status: Wrong Answer

Solution code:
N = input()
if int(N) % 2 == 0:
  print(int(N) / 2)
else:
  print(int(N) / 2 + 0.5)

Submission status: Wrong Answer

Solution code:
N = input()
if int(N) % 2 == 0:
  print(int(N) / 2)
else:
  print(round(int(N) / 2 + 0.5))

Submission status: Wrong Answer

Solution code:
from math import ceil
n = int(input())
print(round(n/2))

Submission status: Wrong Answer

Solution code:
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)

Submission status: Wrong Answer

Solution code:
for i in range(1,101):
    if i % 2 != 0:
        ans = (i//2)+1
    if i % 2 == 0:
        ans = (i//2)
    print(round(ans,2))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:

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

Submission status: Wrong Answer

Solution code:
N = int(input())
if N % 2 != 0:
    ans = (N//2)+1
if N % 2 == 0:
    ans = (N/2)
print(round(ans,N))

Submission status: Wrong Answer

Solution code:
def resolve():
    a = list(map(int, input().split()))
    a.extend(list(map(int, input().split())))
    a.extend(list(map(int, input().split())))
    n = int(input())
    for i in range(n):
        b = int(input())
        for j in range(len(a)):
            if a[j] == b:
                a[j] = -1
    x1 = a[0:3].count(-1)
    x2 = a[3:6].count(-1)
    x3 = a[6:9].count(-1)
    y1 = a[0:7:3].count(-1)
    y2 = a[1:8:3].count(-1)
    y3 = a[2:9:3].count(-1)
    nn = a[0:9:4].count(-1)

    if x1 == 3 or x2 == 3 or x3 == 3 or y1 == 3 or y2 == 3 or y3 == 3 or nn == 3:
        print('Yes')
    else:
        print('No')

Submission status: Wrong Answer

Solution code:
n = int(input())
if n % 2 <= 0 :
    print(n/2)
elif n % 2 >= 1 :
    print(n//2 +1)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n = int(input())
if n % 2 <= 0 :
    print(n / 2)
elif n % 2 >= 1 :
    print(n // 2 +1)

Submission status: Wrong Answer

Solution code:
N = int(input())

if N == 1:
    print(N)
else:
    print((round(N/2)))

Submission status: Wrong Answer

Solution code:
N = int(input())

print((round(N/2)))

Submission status: Wrong Answer

Solution code:
import math
N = int(input())
if N % 2 == 0:
    p = N/2
else:
    p = math.floor(N/2) + 1
print(p)

Submission status: Wrong Answer

Solution code:
n = int(input())
res = n // 2 
print(res + (res & 2))

Submission status: Wrong Answer

Solution code:
n=int(input())

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

Submission status: Wrong Answer

Solution code:
n = int(input())
re = (n + 1) / 2
print(re)

Submission status: Wrong Answer

Solution code:
N=10
k=N%2
if k==0:
    print(round(N/2.0))
else:
    print(round(N/2+1/2.0))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
N = input()
n = int(N)
math.ceil(n/2)

Submission status: Wrong Answer

Solution code:
import math
N = input()
n = int(N)
math.floor(n/2)

Submission status: Wrong Answer

Solution code:
N = int(input())
if(1<=N<=100):
    print(int(N/2))

Submission status: Wrong Answer

Solution code:
import math
print(math.ceil(int(input())))

Submission status: Wrong Answer

Solution code:
N=11
k=N%2
if k==0:
    print(N/2)
else:
    print(N/2+0.5)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N = int(input())

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

Submission status: Wrong Answer

Solution code:
i = int(input())
j= i/2
k= i/2 +1
if (i== k or i==j):
    print(int(j))

Submission status: Wrong Answer

Solution code:
N = int(input())
n = N / 2

if (N % 2 != 0):
 n += 1

print (n);

Submission status: Wrong Answer

Solution code:
N=int(input())

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

Submission status: Wrong Answer

Solution code:
import sys
import math

for line in sys.stdin.readline():
    n = float(line.rstrip())
    ans = math.ceil(n / 2)
    print(ans, end="")
    break

Submission status: Wrong Answer

Solution code:
def q1(N):
  if N%2 == 1:
    N = N+1
  print(N/2)

Submission status: Wrong Answer

Solution code:
N = int(input())
result=0

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a = int(input())
print(a + 1 // 2)

Submission status: Wrong Answer

Solution code:
import sys
import math

for line in sys.stdin.readline():
    n = float(line.rstrip())
    ans = math.ceil(n / 2)
    print(ans, end="")
    break

Submission status: Wrong Answer

Solution code:
a = int(input())
b = int(a / 4)
if (a % 4 !=0):
    b+=1
print(b)

Submission status: Wrong Answer

Solution code:
N = int(input())
num = N/2
nume = N/4
if N%2==0:
    print(num)
else:
    print(nume)

Submission status: Wrong Answer

Solution code:
num = input()
num = int(num)
 
print(int(num/2))

Submission status: Wrong Answer

Solution code:
n = int(input())

print(int(n/2)+1)

Submission status: Wrong Answer

Solution code:
i = int(input())
j = i/2
print(int(j))

Submission status: Wrong Answer

Solution code:
s = input().strip()
s = int(s)

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a = int(input())
if a % 2:
  b = (a + 1) / 2
else:
  b = a / 2
print(b)

Submission status: Wrong Answer

Solution code:
pageNum = int(input())
print(int(round(pageNum/2,0)))

Submission status: Wrong Answer

Solution code:
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))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
pageNum = int(input())
print(round(pageNum/2,0))

Submission status: Wrong Answer

Solution code:
q, mod = divmod(int(input()), 2)
q+=1 if mod == 1 else q
print(q)

Submission status: Wrong Answer

Solution code:
N = int(input())
ans = N / 2
if ans.is_integer() == True:
  print(ans)
else:
  print(int(ans)+1)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print(answer)

Submission status: Wrong Answer

Solution code:
N=int(input())

print(N/2+N%2)

Submission status: Wrong Answer

Solution code:
N=int(input())

mod=N%2
if(mod==0):
    num=N/2
    print(num)
elif(mod==1):
    num=N/2
    print(num+0.5)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N = int(input())
print(round(N/2+N%2))

Submission status: Wrong Answer

Solution code:
import math
N=int(input())
a=N//2
print(math.ceil(a))

Submission status: Wrong Answer

Solution code:
print(max(round(float(input())/2),1))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-

N=int(input())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N=int(input())

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

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

Submission status: Wrong Answer

Solution code:
N = int(input())
num = N/2
if N%2==0:
    print(num)
else:
    print(round(num+0.5))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N=int(input())

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

else:
    print(int(N/2)+1)

Submission status: Wrong Answer

Solution code:
A = int(input())
if A%2==1:
    A = (A/2)+0.5
else:
    A =A/2
print(A)

Submission status: Wrong Answer

Solution code:
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))

Submission status: Wrong Answer

Solution code:
a = int(input())
b = 0
while a >= 0:
  a -= 2
  b += 1
  if a == 1:
    break
else:
  print(b)
print(b + 1)

Submission status: Wrong Answer

Solution code:
N=int(input())

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

Submission status: Wrong Answer

Solution code:
N = int(input())
N=N/2
print(round(N))

Submission status: Wrong Answer

Solution code:
num = int(input())
print(round(num/2))

Submission status: Wrong Answer

Solution code:
n = int(input()) // 2
print(n)

Submission status: Wrong Answer

Solution code:
N = int(input())
n = int(N/2)
print(n+1)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N=int(input())

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

else:
    print(round(N/2)+1)

Submission status: Wrong Answer

Solution code:
-((-int(input()))//2)

Submission status: Wrong Answer

Solution code:
N = 3
if N % 2 == 1:
	n = N + 1
else:
	n = N
print(int(n / 2))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N = int(input())
n = int(N/2)
print(n)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N=int(input())
if N % 2==0:
    print(N/2)
else:
    print(N/2+0.5)

Submission status: Wrong Answer

Solution code:
n = int(input())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
num = input()
num = int(num)

print(num % 2)

Submission status: Wrong Answer

Solution code:
n = int(input())

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

Submission status: Wrong Answer

Solution code:
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)

Submission status: Wrong Answer

Solution code:
a=int(input())
b=a//2+1
print(b)

Submission status: Wrong Answer

Solution code:
N = int(input())

print(N>>1)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N = int(input())
x = int(N/2)+1
print(x)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N = int(input())
N = round(N/2)
print(N)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N = int(input())
if N // 2 != 0:
    ans = (N // 2)+(N % 2)
else:
    ans = N // 2
print(ans)

Submission status: Wrong Answer

Solution code:
n = int(input())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n = int(input())
print(round(n/2))

Submission status: Wrong Answer

Solution code:
n = int(input())

print((n//2)+1)

Submission status: Wrong Answer

Solution code:
s = int(input())
print(s // 2)

Submission status: Wrong Answer

Solution code:
N = input()
N = int(N)

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

Submission status: Wrong Answer

Solution code:
import math
N = int(input())
if( N%2 == 0 ):
  print(N/2)
else:
  print(math.ceil((N/2)))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N = int(input())

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

Submission status: Wrong Answer

Solution code:
N = int(input())

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

else:
    print(N/2 + 1)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n = int(input())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n = int(input())
print(int(n/5)+n%2)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N = int(input())
K = N % 2
S = (N + K) / 2 
print(S)

Submission status: Wrong Answer

Solution code:
N = int(input())
if(N % 2 == 0):
    s = N / 2
else:
    s = N // 2 + 1

print(s)

Submission status: Wrong Answer

Solution code:
N = int(input())
N = N / 2 + N % 2
print(N)

Submission status: Wrong Answer

Solution code:

def main():
    n = int(input())

    print((n//2)+1)


if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
N = int(input())

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

print(res)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N = int(input())
a = N/2 
b = N%2
print(a+b)

Submission status: Wrong Answer

Solution code:
n = int(input())

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

Submission status: Wrong Answer

Solution code:
N = int(input())
print(int((N-N%2)/2))

Submission status: Wrong Answer

Solution code:
a = int(input())
print(a//2)

Submission status: Wrong Answer

Solution code:
a=int(input())
if (a % 2) == 0:
  print(a / 2)
elif (a % 2) == 1:
  print((a / 2) + 1)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N = input()
N = int(N)

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

Submission status: Wrong Answer

Solution code:
N = int(input())
A = N%2
B = int((N-A)/2)
print(B)

Submission status: Wrong Answer

Solution code:
N = int(input())

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

Submission status: Wrong Answer

Solution code:
n = int(input())

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

Submission status: Wrong Answer

Solution code:
import math
N=5
math.floor(N/2)

Submission status: Wrong Answer

Solution code:
a = int(input())

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

Submission status: Wrong Answer

Solution code:
I=int(input())

print(int(I/2))

Submission status: Wrong Answer

Solution code:
n=int(input())

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

Submission status: Wrong Answer

Solution code:
N=int(input())
print(int(N/2)+1)

Submission status: Wrong Answer

Solution code:
a=int(input())
b=a//2
if b==1:
  b=b+1
print(b)

Submission status: Wrong Answer

Solution code:
N = int(input())

ans = round(N / 2)

print(ans)

Submission status: Wrong Answer

Solution code:
N = int(input())

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

Submission status: Wrong Answer

Solution code:
n = int(input())

print(n//2+1)

Submission status: Wrong Answer

Solution code:
N=int(input())

if N%2 == 0:
    n=N/2
elif N%2 == 1:
    n=(N//2)+1

print(n)

Submission status: Wrong Answer

Solution code:
#N,K = map(int,input().split())
N=int(input())
if N%2==0:
    print(N/2)
else:
    print((N//2)+1)

Submission status: Wrong Answer

Solution code:
N = int(input())
print("{}".format((N//2)+1))

Submission status: Wrong Answer

Solution code:
N=int(input())
print(N/2+1)

Submission status: Wrong Answer

Solution code:
import sys
import collections
import copy
import math

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

Submission status: Wrong Answer

Solution code:
#N,K=(int(x) for x in input().split())
N=int(input())
#A=list(map(int, input().split()))

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

Submission status: Wrong Answer

Solution code:
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):

Submission status: Wrong Answer

Solution code:
n = int(input())

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

Submission status: Wrong Answer

Solution code:
n=int(input())
if n%2==0:
  print(n/2)
else:
  print(n/2+0.5)

Submission status: Wrong Answer

Solution code:
n=int(input())
if n%2!=0:
  s=(n-1)//2
else:
  s=n//2
print(s)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n=int(int(input())/2)+1
print(n)

Submission status: Wrong Answer

Solution code:
N = int(input())
print(round(N / 2))

Submission status: Wrong Answer

Solution code:
N=int(input())

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

Submission status: Wrong Answer

Solution code:
N = int(input())
print(int(N//2 + 0.5))

Submission status: Wrong Answer

Solution code:
N = int(input())

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

Submission status: Wrong Answer

Solution code:
import bisect, collections

def solution():
    n = input().strip()
    print(int(n)//2)
    

    

def main():    
    # T = int(input().strip())
    for _ in range(1):
        solution()
    

main()

Submission status: Wrong Answer

Solution code:
a = int(input())

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