N = int(input().strip()) print('{}'.format(N // 2 + (N & 1)))