import java.util.*;

public class Main {
	public static void main (String[] args) {
		Scanner sc = new Scanner(System.in);
		char[] arr = sc.next().toCharArray();
		if (arr[1] == 'R') {
		    arr[1] = 'B';
		} else {
		    arr[1] = 'R';
		}
		System.out.println(arr);
	}
} import java.util.*; util.* java public class Main {
	public static void main (String[] args) {
		Scanner sc = new Scanner(System.in);
		char[] arr = sc.next().toCharArray();
		if (arr[1] == 'R') {
		    arr[1] = 'B';
		} else {
		    arr[1] = 'R';
		}
		System.out.println(arr);
	}
} Main public static void main (String[] args) {
		Scanner sc = new Scanner(System.in);
		char[] arr = sc.next().toCharArray();
		if (arr[1] == 'R') {
		    arr[1] = 'B';
		} else {
		    arr[1] = 'R';
		}
		System.out.println(arr);
	} main {
		Scanner sc = new Scanner(System.in);
		char[] arr = sc.next().toCharArray();
		if (arr[1] == 'R') {
		    arr[1] = 'B';
		} else {
		    arr[1] = 'R';
		}
		System.out.println(arr);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) char[] arr = sc.next().toCharArray(); arr sc.next().toCharArray() sc.next().toCharArray sc.next() sc.next sc if (arr[1] == 'R') {
		    arr[1] = 'B';
		} else {
		    arr[1] = 'R';
		} arr[1] == 'R' arr[1] arr 1 'R' {
		    arr[1] = 'B';
		} arr[1] = 'B' arr[1] arr 1 'B' {
		    arr[1] = 'R';
		} arr[1] = 'R' arr[1] arr 1 'R' System.out.println(arr) System.out.println System.out System System.out arr String[] args args public class Main {
	public static void main (String[] args) {
		Scanner sc = new Scanner(System.in);
		char[] arr = sc.next().toCharArray();
		if (arr[1] == 'R') {
		    arr[1] = 'B';
		} else {
		    arr[1] = 'R';
		}
		System.out.println(arr);
	}
} public class Main {
	public static void main (String[] args) {
		Scanner sc = new Scanner(System.in);
		char[] arr = sc.next().toCharArray();
		if (arr[1] == 'R') {
		    arr[1] = 'B';
		} else {
		    arr[1] = 'R';
		}
		System.out.println(arr);
	}
} Main
import java.util.*;

public class Main {
	public static void main (String[] args) {
		Scanner sc = new Scanner(System.in);
		char[] arr = sc.next().toCharArray();
		if (arr[1] == 'R') {
		    arr[1] = 'B';
		} else {
		    arr[1] = 'R';
		}
		System.out.println(arr);
	}
}
