A - Libra Editorial /

Time Limit: 2 sec / Memory Limit: 256 MB

配点 : 100

問題文

上皿天秤は、左の皿に乗っているおもりの重さの合計を L とし、右の皿に乗っているおもりの重さの合計を R としたとき、 L>R なら左に傾き、L=R なら釣り合い、L<R なら右に傾きます。

高橋君は、上皿天秤の左の皿に重さ A のおもりと重さ B のおもりを、右の皿に重さ C のおもりと重さ D のおもりを置きました。

上皿天秤が左に傾くなら Left を、釣り合うなら Balanced を、右に傾くなら Right を出力してください。

制約

  • 1\leq A,B,C,D \leq 10
  • 入力はすべて整数である

入力

入力は以下の形式で標準入力から与えられる。

A B C D

出力

上皿天秤が左に傾くなら Left を、釣り合うなら Balanced を、右に傾くなら Right を出力せよ。


入力例 1

3 8 7 1

出力例 1

Left

左の皿の上のおもりの重さの合計は 11 、右の皿の上のおもりの重さの合計は 8 です。11>8 なので、Left を出力します。


入力例 2

3 4 5 2

出力例 2

Balanced

左の皿の上のおもりの重さの合計は 7 、右の皿の上のおもりの重さの合計は 7 です。7=7 なので、Balanced を出力します。


入力例 3

1 7 6 4

出力例 3

Right

左の皿の上のおもりの重さの合計は 8 、右の皿の上のおもりの重さの合計は 10 です。8<10 なので、Right を出力します。

Score : 100 points

Problem Statement

A balance scale tips to the left if L>R, where L is the total weight of the masses on the left pan and R is the total weight of the masses on the right pan. Similarly, it balances if L=R, and tips to the right if L<R.

Takahashi placed a mass of weight A and a mass of weight B on the left pan of a balance scale, and placed a mass of weight C and a mass of weight D on the right pan.

Print Left if the balance scale tips to the left; print Balanced if it balances; print Right if it tips to the right.

Constraints

  • 1\leq A,B,C,D \leq 10
  • All input values are integers.

Input

Input is given from Standard Input in the following format:

A B C D

Output

Print Left if the balance scale tips to the left; print Balanced if it balances; print Right if it tips to the right.


Sample Input 1

3 8 7 1

Sample Output 1

Left

The total weight of the masses on the left pan is 11, and the total weight of the masses on the right pan is 8. Since 11>8, we should print Left.


Sample Input 2

3 4 5 2

Sample Output 2

Balanced

The total weight of the masses on the left pan is 7, and the total weight of the masses on the right pan is 7. Since 7=7, we should print Balanced.


Sample Input 3

1 7 6 4

Sample Output 3

Right

The total weight of the masses on the left pan is 8, and the total weight of the masses on the right pan is 10. Since 8<10, we should print Right.