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