Jam
People made machines different, traffic jams made them equal.
Folklore
Following a long-awaited reform to enhance drivers' intellectual capabilities, aspiring drivers must now defeat a traffic inspector in a game called "Traffic Jam" to earn their driver's license.
Here's how the game works: On a single-lane road leading up to a traffic light, several cars are lined up. Players take turns, starting with the examinee. In 1 move, a player can select one car and instruct it to move forward by a certain number of centimeters, ensuring it neither collides with (touches or crosses) other vehicles nor encroaches onto the pedestrian crossing. Overtaking is strictly forbidden. A Traffic Jam occurs when no car can advance even a centimeter. The player whose move results in a Traffic Jam loses the game.
Your friend has repeatedly failed this test and now seeks your help to determine if there is any strategy that allows them to pass the exam without breaking the rules.
Input
The input file begins with the number of cars n (1 ≤ n ≤ 10^5). The next n lines each contain two numbers: the distances from the front and rear bumpers of a car to the pedestrian crossing, measured in centimeters. All distances are between 0 and 10^9. It is guaranteed that the first number is less than the second, and no two cars are initially in collision.
Output
If your friend can ensure a victory, output "Green light". If the inspector is guaranteed to win, output "Green paper".