UVA 12646 done
A new problem added 12653