Given two integers a and b. Write a program to find the number of digits in the product of these two integers.
First line contains an integer T denoting number of test cases. The next T lines contains 2 space separated integers a and b each.
For each test case print the number of digits in the product of the two numbers.