Create UVA 11479 - Is this the easiest problem?

Solved with C