Update UVa 10020

Greedy