Indinesia has two fire lookout towers at (x1,y1) and (x2,y2) with x1<x2 and y1<y2. Across the country there are N hotspots, and the i-th hotspot is a circle with radius ri centered at (fxi,fyi). A point (x,y) is safe when it satisfies all of the following conditions.
- x1≤x≤x2,
- y1≤y≤y2,
- It does not lie strictly inside any burning area. In other words, for every 1≤i≤N, the distance from (x,y) to (fxi,fyi) is at least ri.
The locations of the two towers are guaranteed to be safe. The two towers can communicate properly if and only if there exists a safe path connecting them. A path is safe if and only if every point on it is safe. Here a path is any continuous curve, and it does not need to be straight.
Determine whether the two towers can communicate properly.