UVA 10189 Solution
UVA 10189 Solution