import sys
 
[print(len(str(y[0] + y[1]))) for y in [[int(z) for z in x.split()] for x in sys.stdin]] import sys sys print(len(str(y[0] + y[1]))) for y in [[int(z) for z in x.split()] for x in sys.stdin] for y in [[int(z) for z in x.split()] for x in sys.stdin] y [[int(z) for z in x.split()] for x in sys.stdin] for y in [[int(z) for z in x.split()] for x in sys.stdin] print(len(str(y[0] + y[1]))) print len(str(y[0] + y[1])) len str(y[0] + y[1]) str y[0] + y[1] y[0] y 0 y[1] y 1 [print(len(str(y[0] + y[1]))) for y in [[int(z) for z in x.split()] for x in sys.stdin]]
import sys
 
[print(len(str(y[0] + y[1]))) for y in [[int(z) for z in x.split()] for x in sys.stdin]]