Added UVa problem 12696.