UVa 424 - Integer Inquiry

424 - Integer Inquiry

 * http://acm.uva.es/p/v4/424.html

Summary
A straightforward BigNum problem which requires a program to compute the sum of given positive integers.

Explanation
Use a character array or string data type to store the given integers. Implement your own addition operation on the array/string and print the result. Alternatively, you can use a suitable data type provided with the language you're using (such as BigInteger in java, GMP in C). Refer the BigNum article for more details.

Input
135484613546846131684684 156481213215884512121 211212 878751351687654351421 0

Output
136519846111749670759438