# Is this a bash?

**Calculus**Level 5

Coach Pranjal and Coach Trevor are coaching their soccer players on the Cartesian plane. Both decide to do running exercises to get their players in shape.

Coach Pranjal calls off the numbers in the set \(P=\left(2,3,4,5\right)\) and Coach Trevor calls off the numbers in the set \(T=\left(3,4,5,6\right)\). Each coach tells his players to start at the origin and run in a rectangular spiral with side lengths of 1,2,3, and 4 digit combinations of the numbers in each coach's respective set with no repeated digits.

For example, Pranjal's players would run 5432 paces east, 5423 paces north, 5342 paces west. . . . 2345 paces south, 543 paces east, 542 paces north. . . . And finally 2 paces south.

Coach Trevor tells his players to do the same, except they travel 6543 paces east, 6534 paces north. . . .

When both teams, tired beyond belief, finish their drills, they both stop to rest for a while.

Find the distance between where both teams take their rests correct to 2 decimal places.

Problem credit/inspiration by Pranjal Jain