# -*- coding: utf-8 -*-

import math

n = int(input())

print(math.ceil(n / 2))