262

Problem ID: 262

Since the sample input on UVa Online Judge is not copiable without losing its formatting, this has been uploaded as input on uDebug.