N = int(raw_input()) print N/2 + N%2