import java.util.Scanner;
public class abc
{
public static void main(String[] args)
{
Scanner sc = new Scanner(System.in);
while(sc.hasNext())
{
int count = 0;
int time = 0;
int a = sc.nextInt();
int b = sc.nextInt();
while(a != 0 || b != 0)
{
if(a % 10 + b % 10 >= 10)
{
count++;
time = 1;
}
a /= 10;
b /= 10;
}
if (count == 1)
{
System.out.println("1 carry operation.");
}
else if(time == 1)
{
System.out.println(count + "carry operations.");
}
else
{
System.out.println("No carry operation.");
}
}
}
}