1) print(len(input()))
2) print(max([int(input()) for x in range(2)]))
3) print(sum([int(input()) for x in range(3)]))
1) print(len(input()))
2) print(max([int(input()) for x in range(2)]))
3) print(sum([int(input()) for x in range(3)]))