uva-10453.cpp Accepted and Described