[print(len(str(i)))for i in[sum(int(e)for e in ln.split())for ln in __import__("sys").stdin]] print(len(str(i)))for i in[sum(int(e)for e in ln.split())for ln in __import__("sys").stdin] for i in[sum(int(e)for e in ln.split())for ln in __import__("sys").stdin] i [sum(int(e)for e in ln.split())for ln in __import__("sys").stdin] for i in[sum(int(e)for e in ln.split())for ln in __import__("sys").stdin] print(len(str(i))) print len(str(i)) len str(i) str i [print(len(str(i)))for i in[sum(int(e)for e in ln.split())for ln in __import__("sys").stdin]]
[print(len(str(i)))for i in[sum(int(e)for e in ln.split())for ln in __import__("sys").stdin]]