import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
      String a = sc.next();
      if(a.contains("B")){
        System.out.println(a.replace("B","R"));
      }else if(a.contains("R")){
        System.out.println(a.replace("R","B"));
      }
    }
} import java.util.*; util.* java public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
      String a = sc.next();
      if(a.contains("B")){
        System.out.println(a.replace("B","R"));
      }else if(a.contains("R")){
        System.out.println(a.replace("R","B"));
      }
    }
} Main public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
      String a = sc.next();
      if(a.contains("B")){
        System.out.println(a.replace("B","R"));
      }else if(a.contains("R")){
        System.out.println(a.replace("R","B"));
      }
    } main {
		Scanner sc = new Scanner(System.in);
      String a = sc.next();
      if(a.contains("B")){
        System.out.println(a.replace("B","R"));
      }else if(a.contains("R")){
        System.out.println(a.replace("R","B"));
      }
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String a = sc.next(); a sc.next() sc.next sc if(a.contains("B")){
        System.out.println(a.replace("B","R"));
      }else if(a.contains("R")){
        System.out.println(a.replace("R","B"));
      } a.contains("B") a.contains a "B" {
        System.out.println(a.replace("B","R"));
      } System.out.println(a.replace("B","R")) System.out.println System.out System System.out a.replace("B","R") a.replace a "B" "R" if(a.contains("R")){
        System.out.println(a.replace("R","B"));
      } a.contains("R") a.contains a "R" {
        System.out.println(a.replace("R","B"));
      } System.out.println(a.replace("R","B")) System.out.println System.out System System.out a.replace("R","B") a.replace a "R" "B" String[] args args public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
      String a = sc.next();
      if(a.contains("B")){
        System.out.println(a.replace("B","R"));
      }else if(a.contains("R")){
        System.out.println(a.replace("R","B"));
      }
    }
} public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
      String a = sc.next();
      if(a.contains("B")){
        System.out.println(a.replace("B","R"));
      }else if(a.contains("R")){
        System.out.println(a.replace("R","B"));
      }
    }
} Main
import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
      String a = sc.next();
      if(a.contains("B")){
        System.out.println(a.replace("B","R"));
      }else if(a.contains("R")){
        System.out.println(a.replace("R","B"));
      }
    }
}