#include <iostream>
using namespace std;
int main(){
long long int a, b;
while(cin >> a >> b){
if(0 == a && 0 == b)
break;
int count = 0;
int carry = 0;
while(a || b){
carry = (a % 10 + b % 10 + carry) / 10;
a /= 10;
b /= 10;
if(carry)
++count;
}
if(0 == count)
cout << "No carry operation." << endl;
else if(1 == count)
cout << "1 carry operation." << endl;
else
cout << count << " carry operations." << endl;
}
return 0;
}
long long int a, b;
這a=99999 99999會掛