import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String string = sc.nextLine();
		char[] str_char = new char[3];
		for (int i = 0; i < 3; i++) {
			str_char[i] = string.charAt(i);
		}

		if (str_char[1] == 'B') {
			str_char[1] = 'R';
		} else {
			str_char[1] = 'B';
		}

		System.out.println(str_char);
	}
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String string = sc.nextLine();
		char[] str_char = new char[3];
		for (int i = 0; i < 3; i++) {
			str_char[i] = string.charAt(i);
		}

		if (str_char[1] == 'B') {
			str_char[1] = 'R';
		} else {
			str_char[1] = 'B';
		}

		System.out.println(str_char);
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String string = sc.nextLine();
		char[] str_char = new char[3];
		for (int i = 0; i < 3; i++) {
			str_char[i] = string.charAt(i);
		}

		if (str_char[1] == 'B') {
			str_char[1] = 'R';
		} else {
			str_char[1] = 'B';
		}

		System.out.println(str_char);
	} main {
		Scanner sc = new Scanner(System.in);
		String string = sc.nextLine();
		char[] str_char = new char[3];
		for (int i = 0; i < 3; i++) {
			str_char[i] = string.charAt(i);
		}

		if (str_char[1] == 'B') {
			str_char[1] = 'R';
		} else {
			str_char[1] = 'B';
		}

		System.out.println(str_char);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String string = sc.nextLine(); string sc.nextLine() sc.nextLine sc char[] str_char = new char[3]; str_char new char[3] 3 for (int i = 0; i < 3; i++) {
			str_char[i] = string.charAt(i);
		} int i = 0; int i = 0; i 0 i < 3 i 3 i++ i++ i {
			str_char[i] = string.charAt(i);
		} {
			str_char[i] = string.charAt(i);
		} str_char[i] = string.charAt(i) str_char[i] str_char i string.charAt(i) string.charAt string i if (str_char[1] == 'B') {
			str_char[1] = 'R';
		} else {
			str_char[1] = 'B';
		} str_char[1] == 'B' str_char[1] str_char 1 'B' {
			str_char[1] = 'R';
		} str_char[1] = 'R' str_char[1] str_char 1 'R' {
			str_char[1] = 'B';
		} str_char[1] = 'B' str_char[1] str_char 1 'B' System.out.println(str_char) System.out.println System.out System System.out str_char String[] args args public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String string = sc.nextLine();
		char[] str_char = new char[3];
		for (int i = 0; i < 3; i++) {
			str_char[i] = string.charAt(i);
		}

		if (str_char[1] == 'B') {
			str_char[1] = 'R';
		} else {
			str_char[1] = 'B';
		}

		System.out.println(str_char);
	}
} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String string = sc.nextLine();
		char[] str_char = new char[3];
		for (int i = 0; i < 3; i++) {
			str_char[i] = string.charAt(i);
		}

		if (str_char[1] == 'B') {
			str_char[1] = 'R';
		} else {
			str_char[1] = 'B';
		}

		System.out.println(str_char);
	}
} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String string = sc.nextLine();
		char[] str_char = new char[3];
		for (int i = 0; i < 3; i++) {
			str_char[i] = string.charAt(i);
		}

		if (str_char[1] == 'B') {
			str_char[1] = 'R';
		} else {
			str_char[1] = 'B';
		}

		System.out.println(str_char);
	}
}