580

Problem ID: 580

Even though there are no input or output limits specified on this problem, it's probably true that all integer input on UVa Online Judge is equal to or less than 30 and that all output will fit into a 32-bit signed integer.
Delete Input