/***********************************************
 * icfpc-2011
 * بِسْمِ اللهِ الرَّحْمنِ الرَّحِيمِِ
 * Time: 18.06.2011 11:37:46
 ***********************************************/
package ru.alphatech.icfpc.game;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Run
{
	private static Player proponent = new Player();
	
	private static Player opponent = new Player();
	
	private static void readOpponent() throws IOException
	{
		BufferedReader breader = new BufferedReader(new InputStreamReader(System.in));
		
		breader.readLine();
		breader.readLine();
		breader.readLine();
	}
	
	private static void writeMove()
    {
		System.out.println(1);
		System.out.println("I");
		System.out.println(0);
    }

	public static void main(String[] args) throws IOException
    {
	    String playerNum = args[0];
	    
	    if("1".equals(playerNum))
	    {
	    	readOpponent();
	    }
	    
	    writeMove();
	    readOpponent();
    }
}
