UVa 11733: Accepted