题目描述
Problem Description
Xiao Z is participating in a competition. The competition consists of 3 problems. Upon correctly solving the first problem, a blue balloon (denoted as B) is awarded; upon correctly solving the second problem, a yellow balloon (denoted as Y) is awarded; and upon correctly solving the third problem, a red balloon (denoted as R) is awarded. These balloons are awarded immediately after solving each problem.
Xiao Z knows how to solve all three problems but may not necessarily solve them in the order of the first, second, and third problems. Given the sequence in which Xiao Z correctly solves the problems, output the sequence in which Xiao Z receives the balloons.
Input Format
A single line containing 3 integers separated by a space, representing the order in which the problems are correctly solved.
The input guarantees that the numbers are only 1, 2, and 3 and that they do not repeat.
Output Format
A single line containing three letters, representing the sequence in which Xiao Z receives the balloons. B denotes a blue balloon, Y denotes a yellow balloon, and R denotes a red balloon.
Sample Input and Output
Sample Input #1
1 2 3
Sample Output #1
BYR
Sample Input #2
3 1 2
Sample Output #2
RBY
Notes
Sample 1 Explanation
After correctly solving the first problem, Xiao Z receives a blue balloon (denoted as B).
After correctly solving the second problem, Xiao Z receives a yellow balloon (denoted as Y).
After correctly solving the third problem, Xiao Z receives a red balloon (denoted as R).
Data Range
The input guarantees that the numbers are only 1, 2, and 3 and that they do not repeat.
输入格式
见题面 Input 部分
输出格式
见题面 Output 部分