UVa 11504 updated
Updates