import sys
print "\n".join(str(len(str(sum(int(x) for x in l.split(' '))))) for l in sys.stdin) import sys sys print "\n".join(str(len(str(sum(int(x) for x in l.split(' '))))) for l in sys.stdin) "\n".join "\n" join str(len(str(sum(int(x) for x in l.split(' '))))) str len(str(sum(int(x) for x in l.split(' ')))) len str(sum(int(x) for x in l.split(' '))) str sum(int(x) for x in l.split(' ')) sum int(x) int x
import sys
print "\n".join(str(len(str(sum(int(x) for x in l.split(' '))))) for l in sys.stdin)