UVa 10035 - Primary Arithmetic

10035 - Primary Arithmetic

 * http://acm.uva.es/p/v100/10035.html

Summary
Add the two numbers and count the number of carries that happened.

Explanation
Just add digit by digit, and count the number of carries.

Gotchas

 * Watch the spelling. For 0 we have to print "No carry operation.", even though that's not proper grammar.

Input
123 456 555 555 123 594 0 0

Output
No carry operation. 3 carry operations. 1 carry operation.