Compute how many carries will occur when calculating the sum of two decimal numbers A and B.
For each case a line, there are two positive integers A and B. ( 0 < A, B < 101000 ) There are multiple cases terminated by EOF.
For each case a line, output how many carries occur.