UVa10285 accepted.