Score : $100$ points
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.
Input is given from Standard Input in the following format:
$A$ $B$ $C$ $D$
Print Left
if the balance scale tips to the left; print Balanced
if it balances; print Right
if it tips to the right.
3 8 7 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
.
3 4 5 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
.
1 7 6 4
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
.