#1488. 初级算术

初级算术

题目描述

小青遇到了这样一个问题:Children are taught to add multi-digit numbers from right to left one digit at a time.

输入格式

The input consists of multiple test cases. Each test case contains two positive integers less than 10^9.

输出格式

For each test case, output the number of carries in a line.

样例

样例 1

输入 # 1

123 456

输出 # 1

0