UVa 260 Accepted