Maths of urinal availability

Fun

Finally someone went into the trouble of suggesting the optimal solution.