UVa 556: just a simulation, care for the coordinates