UVa124 accepted