import fileinput

if __name__ == "__main__":
    for line in fileinput.input():
        v = line.split(" ")
        print(len(str(sum([int(i) for i in v])))) import fileinput fileinput if __name__ == "__main__":
    for line in fileinput.input():
        v = line.split(" ")
        print(len(str(sum([int(i) for i in v])))) __name__ == "__main__" __name__ "__main__" for line in fileinput.input():
        v = line.split(" ")
        print(len(str(sum([int(i) for i in v])))) line fileinput.input() fileinput.input fileinput input v = line.split(" ") v line.split(" ") line.split line split " " int(i) for i in v for i in v i v for i in v int(i) int i print(len(str(sum([int(i) for i in v])))) print len(str(sum([int(i) for i in v]))) len str(sum([int(i) for i in v])) str sum([int(i) for i in v]) sum [int(i) for i in v] v = line.split(" ") line.split(" ") v
import fileinput

if __name__ == "__main__":
    for line in fileinput.input():
        v = line.split(" ")
        print(len(str(sum([int(i) for i in v]))))