import math N = input() print(math.ceil(len(N) / 2))