a = io.read() print(math.ceil(#a / 2))