a = input() print(len(a) - 10)