UVa 11494 - Queen

Always remember that the highest movement is 2