Solve UVa 10566 - Crossed Ladders.