701

Problem ID: 701

This problem has issues with larger numbers like 2,147,483,648. But UVa Online Judge does not have input data like that.