import java.util.Scanner;
public class Main {
  enum Event {
  ARC,
  ABC
}
	public static void main (String[] args) {
		Scanner in = new Scanner(System.in);
		String h = in.nextLine();
      System.out.println(nextEvent(h));
    }
   static Event nextEvent(String event){
            if(Event.valueOf(event).equals(Event.ARC))
            {
              return Event.ABC ;
            }else{
                  return Event.ARC ;
            }
		}
	} import java.util.Scanner; Scanner java.util public class Main {
  enum Event {
  ARC,
  ABC
}
	public static void main (String[] args) {
		Scanner in = new Scanner(System.in);
		String h = in.nextLine();
      System.out.println(nextEvent(h));
    }
   static Event nextEvent(String event){
            if(Event.valueOf(event).equals(Event.ARC))
            {
              return Event.ABC ;
            }else{
                  return Event.ARC ;
            }
		}
	} Main public static void main (String[] args) {
		Scanner in = new Scanner(System.in);
		String h = in.nextLine();
      System.out.println(nextEvent(h));
    } main {
		Scanner in = new Scanner(System.in);
		String h = in.nextLine();
      System.out.println(nextEvent(h));
    } Scanner in = new Scanner(System.in); in new Scanner(System.in) String h = in.nextLine(); h in.nextLine() in.nextLine in System.out.println(nextEvent(h)) System.out.println System.out System System.out nextEvent(h) nextEvent h String[] args args static Event nextEvent(String event){
            if(Event.valueOf(event).equals(Event.ARC))
            {
              return Event.ABC ;
            }else{
                  return Event.ARC ;
            }
		} nextEvent {
            if(Event.valueOf(event).equals(Event.ARC))
            {
              return Event.ABC ;
            }else{
                  return Event.ARC ;
            }
		} if(Event.valueOf(event).equals(Event.ARC))
            {
              return Event.ABC ;
            }else{
                  return Event.ARC ;
            } Event.valueOf(event).equals(Event.ARC) Event.valueOf(event).equals Event.valueOf(event) Event.valueOf Event event Event.ARC Event Event.ARC {
              return Event.ABC ;
            } return Event.ABC ; Event.ABC Event Event.ABC {
                  return Event.ARC ;
            } return Event.ARC ; Event.ARC Event Event.ARC String event event enum Event {
  ARC,
  ABC
} Event ARC ARC ABC ABC import java.util.Scanner;
public c import java.util.Scanner;
public class Main {
  enum Event {
  ARC,
  ABC
}
	public static void  public class Main {
  enum Event {
  ARC,
  ABC
}
	public static void main (String[] args) {
		Scanner in = new Scanner(System.in);
		String h = in.nextLine();
      System.out.println(nextEvent(h));
    }
   static Event nextEvent(String event){
            if(Event.valueOf(event).equals(Event.ARC))
            {
              return Event.ABC ;
            }else{
                  return Event.ARC ;
            }
		}
	} public class Main {
  enum Event {
  ARC,
  ABC
}
	public static void main (String[] args) {
		Scanner in = new Scanner(System.in);
		String h = in.nextLine();
      System.out.println(nextEvent(h));
    }
   static Event nextEvent(String event){
            if(Event.valueOf(event).equals(Event.ARC))
            {
              return Event.ABC ;
            }else{
                  return Event.ARC ;
            }
		}
	} Main
import java.util.Scanner;
public class Main {
  enum Event {
  ARC,
  ABC
}
	public static void main (String[] args) {
		Scanner in = new Scanner(System.in);
		String h = in.nextLine();
      System.out.println(nextEvent(h));
    }
   static Event nextEvent(String event){
            if(Event.valueOf(event).equals(Event.ARC))
            {
              return Event.ABC ;
            }else{
                  return Event.ARC ;
            }
		}
	}