import sys
for e in sys.stdin.readlines():
 print(len(str(eval('+'.join(e.split()))))) import sys sys for e in sys.stdin.readlines():
 print(len(str(eval('+'.join(e.split()))))) e sys.stdin.readlines() sys.stdin.readlines sys.stdin sys stdin readlines print(len(str(eval('+'.join(e.split()))))) print len(str(eval('+'.join(e.split())))) len str(eval('+'.join(e.split()))) str eval('+'.join(e.split())) eval '+'.join(e.split()) '+'.join '+' join e.split() e.split e split
import sys
for e in sys.stdin.readlines():
 print(len(str(eval('+'.join(e.split())))))
