beecrowd | 1920
# Fountain of Desires

**Timelimit: 1**

By Dâmi Henrique, Inatel Brazil

Tired of throwing coins into the fountain of desires and have no wish granted, Chiquinha and Popis decided to use the source as a target in coin throwing game. They will take a distance from the source and throw alternately **N** coins each trying to hit it. Each coin may fall inside(dentro) the fountain, on the edge(borda) or outside.

Given the coordinate (cx, cy) of the center of the fountain, the radius of which is considered inside (r1), and the radius of the edge (r2), your task is the check the throw of both girls and say who hit more coins into the fountain. In case of a tie, the winner is the one that hit more in the edge. If the tie persists, we consider that the game ended in a draw.

Note: If a coin fall exactly into any circle extremes, it shall be considered edge(red dots in the image below).

There will be several test cases. The first line in each case initiates an integer **N** (1 ≤ **N** ≤ 1000) representing the number of coins that each girl launched. The second line contains four integers, **CX**, **CY** (-1000 ≤ **CX**,** CY**≤ 1000), **R1** and **R2**

(1 ≤ **R1** < **R2** ≤ 5000), representing respectively the center of the fountain and the radius as shown in the figure above.

After that, **2*N** lines follow, each one having two integers **X** and **Y** representing the x and y coordinate where a coin dropped. Remember that they play alternately and Chiquinha always plays first.

The input ends with C = 0, which should not be processed.

For each case, output **C > P** in case Chiquinha wins the dispute, **P > C** case Popis win or **C = P** case the game ends tied.

Input Sample | Output Sample |

2 0 0 3 5 1 1 3 3 2 6 -4 0 1 1 2 6 10 8 9 7 7 0 |
C > P C = P |