408207: GYM103055 A League of Legends

Memory Limit:512 MB Time Limit:1 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

A. League of Legendstime limit per test1 secondmemory limit per test512 megabytesinputstandard inputoutputstandard output

Grammy loves playing the worldwide famous game League of Legends.

In the latest version, there is a special rule that players can choose to play with. Under this rule, $$$10$$$ players will be divided into Red team and Blue team. Each team consists of $$$5$$$ players and every player has an initial HP value. If none of all $$$5$$$ players from one team has positive HP value, this team will lose this game. In each turn, the team can choose a player and reduce his HP value by $$$1$$$. Blue team will start first.

Now Grammy wants to know if both teams play in optimal strategy, which team will win the game.

Input

The input contains only a single case.

There are $$$5$$$ integers $$$B_1,B_2,B_3,B_4,B_5$$$ ($$$1 \leq B_i \leq 4\times10^8$$$) in the first line, indicating the HP value of each player in Blue team.

There are $$$5$$$ integers $$$R_1,R_2,R_3,R_4,R_5$$$ ($$$1 \leq R_i \leq 4\times10^8$$$) in the second line, indicating the HP value of each player in Red team.

Output

If Blue team will win, output "Blue" in one line. Otherwise, output "Red" in one line.

ExamplesInput
1 1 2 3 4
2 4 1 5 3
Output
Red
Input
2 3 4 5 6
1 2 3 4 5
Output
Blue

加入题单

算法标签: