Create UVa 10700

Greedy + string processing