I. Interactive Casino
time limit per test
3 seconds
memory limit per test
512 megabytes
input
standard input
output
standard output

This is an interactive problem.

You are given $$$1000\$$$$. You play a game consisting of $$$T=1000$$$ rounds.

In each round, the jury randomly picks an integer $$$b$$$ from the range $$$[1..m]$$$, where $$$m$$$ is the amount of money you currently have. Each integer in this range has an equal probability of being chosen. You can either play this round or skip it. If you play in the round, one of the outcomes is selected with equal probability:

  • You need to pay $$$b$$$ dollars.
  • Jury gives you $$$2b$$$ dollars.

If, at some point, you have more than $$$10\,000$$$ dollars, you win. You lose if you have 0$ or the game ended (you played or skipped all $$$T$$$ rounds).

Interaction

The first line contains one integer $$$T$$$ ($$$T=1000$$$ or $$$T=5$$$) — the number of rounds. It is guaranteed that $$$T=5$$$ is used only in the sample. Your solution is considered correct on the sample if you have a positive amount of money after $$$T$$$ rounds.

Each of the $$$T$$$ rounds starts with a command "ROUND m b", where $$$m$$$ is the amount of money you currently have and $$$b$$$ is a bet chosen by the jury for this round. You should respond with either "PLAY" or "SKIP". Don't forget to flush the output after each response!

If you have more than $$$10\,000$$$ dollars after some round, you will get the word "WIN" instead of the next round. If you lose, you will get the word "LOSE". Your program should terminate immediately after receiving "WIN" or "LOSE".

Example
Input
5
ROUND 1000 43

ROUND 957 433

ROUND 957 525

ROUND 957 125

ROUND 832 685

WIN
Output


PLAY

SKIP

SKIP

PLAY

SKIP
Note

This problem has one sample test and $$$50$$$ real test cases. Each real test case has some fixed random seed. Note that your decision to participate or not participate in the round affects how the random number generator is used, so all rounds after that will be different.