Uva 10041

The first code.