import java.util.HashMap;
import java.util.Map;
import java.util.Scanner;

public class Main{
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		String a = sc.next();
		Map<String, String> map = new HashMap<String, String>();

		map.put("ABC", "ARC");

		map.put("ARC", "ABC");

		if(map.containsKey(a)) {



		System.out.println(map.get(a));

	}
	else {

		System.out.println("もう一度やり直して下さい");
	}
}
} import java.util.HashMap; HashMap java.util import java.util.Map; Map java.util import java.util.Scanner; Scanner java.util public class Main{
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		String a = sc.next();
		Map<String, String> map = new HashMap<String, String>();

		map.put("ABC", "ARC");

		map.put("ARC", "ABC");

		if(map.containsKey(a)) {



		System.out.println(map.get(a));

	}
	else {

		System.out.println("もう一度やり直して下さい");
	}
}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		String a = sc.next();
		Map<String, String> map = new HashMap<String, String>();

		map.put("ABC", "ARC");

		map.put("ARC", "ABC");

		if(map.containsKey(a)) {



		System.out.println(map.get(a));

	}
	else {

		System.out.println("もう一度やり直して下さい");
	}
} main {
		Scanner sc = new Scanner(System.in);

		String a = sc.next();
		Map<String, String> map = new HashMap<String, String>();

		map.put("ABC", "ARC");

		map.put("ARC", "ABC");

		if(map.containsKey(a)) {



		System.out.println(map.get(a));

	}
	else {

		System.out.println("もう一度やり直して下さい");
	}
} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String a = sc.next(); a sc.next() sc.next sc Map<String, String> map = new HashMap<String, String>(); map new HashMap<String, String>() map.put("ABC", "ARC") map.put map "ABC" "ARC" map.put("ARC", "ABC") map.put map "ARC" "ABC" if(map.containsKey(a)) {



		System.out.println(map.get(a));

	}
	else {

		System.out.println("もう一度やり直して下さい");
	} map.containsKey(a) map.containsKey map a {



		System.out.println(map.get(a));

	} System.out.println(map.get(a)) System.out.println System.out System System.out map.get(a) map.get map a {

		System.out.println("もう一度やり直して下さい");
	} System.out.println("もう一度やり直して下さい") System.out.println System.out System System.out "もう一度やり直して下さい" String[] args args public class Main{
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		String a = sc.next();
		Map<String, String> map = new HashMap<String, String>();

		map.put("ABC", "ARC");

		map.put("ARC", "ABC");

		if(map.containsKey(a)) {



		System.out.println(map.get(a));

	}
	else {

		System.out.println("もう一度やり直して下さい");
	}
}
} public class Main{
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		String a = sc.next();
		Map<String, String> map = new HashMap<String, String>();

		map.put("ABC", "ARC");

		map.put("ARC", "ABC");

		if(map.containsKey(a)) {



		System.out.println(map.get(a));

	}
	else {

		System.out.println("もう一度やり直して下さい");
	}
}
} Main
import java.util.HashMap;
import java.util.Map;
import java.util.Scanner;

public class Main{
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		String a = sc.next();
		Map<String, String> map = new HashMap<String, String>();

		map.put("ABC", "ARC");

		map.put("ARC", "ABC");

		if(map.containsKey(a)) {



		System.out.println(map.get(a));

	}
	else {

		System.out.println("もう一度やり直して下さい");
	}
}
}