UVa Problem 10360 - Currently TLE