PROGRAMMING:Mathematical thought -- probability
Today is the penultimate day before the freshmen's competition, because there are differences on XX's mathematical thinking,
Salted dried fish and salted fish who cherish their hair decided to solve this problem by duel.
The way to duel is the Russian turntable that acmer here loves.
The prop is a revolver, its barrel has n chambers. When you hook the trigger, the wheel turns
The firing pin will make the bullet go out? If there is no bullet, there is only "click"
Let's hear it.

Well, no more nonsense. Xiaoyugan and Xianyu are going to duel!
The salted fish put the bullet into some guns, turned the barrel randomly, aimed the barrel at a random gun, and put the gun on his head
On your head, pull the trigger. You hear a "click." there's nothing else. The room is empty,
The gun didn't fire. Now it's xiaoyugan's turn to put the gun on his head and pull the trigger. He can ride a horse
Pull the trigger, you can also rotate the barrel at will, and then pull the trigger. What should he choose to maximize
His chance to survive?
###Input format:
The input consists of a string containing N digits' 0 'and' 1 '(2 ≤ n ≤ 100). This line of numbers represents the shape of the bullet in the barrel“ 0 "is the cavity and" 1 "is the loaded cavity. In this performance, as the turntable rotates before firing, the next chamber on the right aligns with the barrel. Because the chamber is actually on a circle, the first chamber is behind the last chamber. There is at least one "0" in this string.
###Output format:
For each input, output one of the following words:
EQUAL
ROTATE
SHOOT
###Input sample 1:
```in
000111
```
### Output sample 1:
```out
SHOOT
```
###Input sample 2:
```in
0011
```
###Output sample 2:
```out
EQUAL
```
###Input sample 3:
```in
0111
```
###Output sample 3:
```out
ROTATE
```
answer:If there is no answer, please comment
Salted dried fish and salted fish who cherish their hair decided to solve this problem by duel.
The way to duel is the Russian turntable that acmer here loves.
The prop is a revolver, its barrel has n chambers. When you hook the trigger, the wheel turns
The firing pin will make the bullet go out? If there is no bullet, there is only "click"
Let's hear it.

Well, no more nonsense. Xiaoyugan and Xianyu are going to duel!
The salted fish put the bullet into some guns, turned the barrel randomly, aimed the barrel at a random gun, and put the gun on his head
On your head, pull the trigger. You hear a "click." there's nothing else. The room is empty,
The gun didn't fire. Now it's xiaoyugan's turn to put the gun on his head and pull the trigger. He can ride a horse
Pull the trigger, you can also rotate the barrel at will, and then pull the trigger. What should he choose to maximize
His chance to survive?
###Input format:
The input consists of a string containing N digits' 0 'and' 1 '(2 ≤ n ≤ 100). This line of numbers represents the shape of the bullet in the barrel“ 0 "is the cavity and" 1 "is the loaded cavity. In this performance, as the turntable rotates before firing, the next chamber on the right aligns with the barrel. Because the chamber is actually on a circle, the first chamber is behind the last chamber. There is at least one "0" in this string.
###Output format:
For each input, output one of the following words:
EQUAL
ROTATE
SHOOT
###Input sample 1:
```in
000111
```
### Output sample 1:
```out
SHOOT
```
###Input sample 2:
```in
0011
```
###Output sample 2:
```out
EQUAL
```
###Input sample 3:
```in
0111
```
###Output sample 3:
```out
ROTATE
```
answer:If there is no answer, please comment