# No.815 Are you a traveller ? n = int(input()) print(n // 2 if n %2 == 0 else n // 2 + 1)