Sum length

Given two integer numbers. You are to find the length of the number equal to the sum of given numbers.

Input

Input consists of two integer numbers not greater than 1,000,000,000 by absolute value.

Output

Print a line containing the length of the sum of input numbers.

Sample Input

1 2

Sample Output

1