2 import java
.util
.ArrayList
;
5 * @author Iskander Akishev
7 public class headshot_ia
implements Runnable
{
9 private static final String FILE_NAME
= "headshot";
14 } catch (Throwable t
) {
20 private BufferedReader in
;
21 private PrintWriter out
;
23 private void solve() throws Exception
{
24 in
= new BufferedReader(new FileReader(FILE_NAME
+ ".in"));
25 out
= new PrintWriter(new File(FILE_NAME
+ ".out"));
27 ArrayList
<Boolean
> b
= new ArrayList
<Boolean
>();
29 for (char c
: in
.readLine().trim().toCharArray()) {
40 for (int i
= 0; i
< n
; i
++) {
49 int compare
= m
* k
- l
* n
;
52 } else if (compare
< 0) {
53 out
.println("ROTATE");
62 public static void main(String
[] args
) {
63 new Thread(new headshot_ia()).start();