题面
Write a program which computes the digit number of sum of two integers and .
输入格式
The first line of input gives the number of cases, . test cases follow.
Each test case consists of two integers and which are separeted by a space in a line. .
输出格式
For each test case, print the number of digits of .
样例
输入
3 5 7 1 99 1000 999
输出
2 3 4