UVa 469 accepted