
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		String str=scan.nextLine();

		if(str.equals("ABC")) {

			//S=ABC then the output is ARC
			System.out.println("ARC");

		}else if(str.equals("ARC")) {

			//S=ARC then the output is ABC
			System.out.println("ABC");

		}else{

			System.out.println("Incorrect input");

		}

		scan.close();

	}

} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		String str=scan.nextLine();

		if(str.equals("ABC")) {

			//S=ABC then the output is ARC
			System.out.println("ARC");

		}else if(str.equals("ARC")) {

			//S=ARC then the output is ABC
			System.out.println("ABC");

		}else{

			System.out.println("Incorrect input");

		}

		scan.close();

	}

} Main public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		String str=scan.nextLine();

		if(str.equals("ABC")) {

			//S=ABC then the output is ARC
			System.out.println("ARC");

		}else if(str.equals("ARC")) {

			//S=ARC then the output is ABC
			System.out.println("ABC");

		}else{

			System.out.println("Incorrect input");

		}

		scan.close();

	} main {

		Scanner scan = new Scanner(System.in);
		String str=scan.nextLine();

		if(str.equals("ABC")) {

			//S=ABC then the output is ARC
			System.out.println("ARC");

		}else if(str.equals("ARC")) {

			//S=ARC then the output is ABC
			System.out.println("ABC");

		}else{

			System.out.println("Incorrect input");

		}

		scan.close();

	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) String str=scan.nextLine(); str scan.nextLine() scan.nextLine scan if(str.equals("ABC")) {

			//S=ABC then the output is ARC
			System.out.println("ARC");

		}else if(str.equals("ARC")) {

			//S=ARC then the output is ABC
			System.out.println("ABC");

		}else{

			System.out.println("Incorrect input");

		} str.equals("ABC") str.equals str "ABC" {

			//S=ABC then the output is ARC
			System.out.println("ARC");

		} System.out.println("ARC") System.out.println System.out System System.out "ARC" if(str.equals("ARC")) {

			//S=ARC then the output is ABC
			System.out.println("ABC");

		}else{

			System.out.println("Incorrect input");

		} str.equals("ARC") str.equals str "ARC" {

			//S=ARC then the output is ABC
			System.out.println("ABC");

		} System.out.println("ABC") System.out.println System.out System System.out "ABC" {

			System.out.println("Incorrect input");

		} System.out.println("Incorrect input") System.out.println System.out System System.out "Incorrect input" scan.close() scan.close scan String[] args args public class Main {

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		String str=scan.nextLine();

		if(str.equals("ABC")) {

			//S=ABC then the output is ARC
			System.out.println("ARC");

		}else if(str.equals("ARC")) {

			//S=ARC then the output is ABC
			System.out.println("ABC");

		}else{

			System.out.println("Incorrect input");

		}

		scan.close();

	}

} public class Main {

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		String str=scan.nextLine();

		if(str.equals("ABC")) {

			//S=ABC then the output is ARC
			System.out.println("ARC");

		}else if(str.equals("ARC")) {

			//S=ARC then the output is ABC
			System.out.println("ABC");

		}else{

			System.out.println("Incorrect input");

		}

		scan.close();

	}

} Main

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		String str=scan.nextLine();

		if(str.equals("ABC")) {

			//S=ABC then the output is ARC
			System.out.println("ARC");

		}else if(str.equals("ARC")) {

			//S=ARC then the output is ABC
			System.out.println("ABC");

		}else{

			System.out.println("Incorrect input");

		}

		scan.close();

	}

}
