UVa 400: Accepted