Problem:
 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 .

Solution (Python):

a, b, c, d= map(int, input().split())

left = a + b
right = c + d

if left == right:
    print("Balanced")
elif left > right:
    print("Left")
else:
    print("Right")

Solution (Python):
a, b, c, d = map(int, input().split())
if a+b > c+d:
    print("Left")
elif a+b < c+d:
    print("Right")
else:
   print("Balanced")

Solution (Python):
a,b,c,d = map(int, input().split())
if a+b>c+d:
  print("Left")
elif a+b == c+d:
  print("Balanced")
else:
  print("Right")

Solution (Python):
a,b,c,d=list(map(int, input().split()))
if a+b>c+d:
    print("Left")
elif a+b==c+d:
    print("Balanced")
else:
    print("Right")

Solution (Python):

A,B,C,D = map(int, input().split())
L = A + B
R = C + D
if L == R:
    print("Balanced")
elif L < R:
    print("Right")
else :
    print("Left")

Solution (Python):
a, b, c, d = (int(x) for x in input().split())
print('Balanced' if a+b==c+d else 'Left' if a+b > c+d else 'Right')

Solution (Python):
N=list(map(int,input().split(' ')))
L=N[0]+N[1]
R=N[2]+N[3]
if L < R:
    print('Right')
elif L > R:
    print('Left')
else:
    print('Balanced')

Solution (Python):
N = list(map(int, input().split()))

if sum(N[0:2]) > sum(N[2:4]):
  print('Left')
elif sum(N[0:2]) == sum(N[2:4]):
  print('Balanced')
else:
  print('Right')

Solution (Python):



a, b, c, d = map(int, input().split())
if a + b > c + d:
    print("Left")
elif a + b == c + d:
    print("Balanced")
else:
    print("Right")

Solution (Python):
l = tuple(map(int, input().split()))

R = l[2] + l[3]
L = l[0] + l[1]

if(L < R):
    print("Right")
elif(L > R):
    print("Left")
elif(L == R):
    print("Balanced")

Solution (Python):


a,b,c,d = map(int, input().split())
s = a + b - c - d
if s == 0:
    print("Balanced")
elif s > 0:
    print("Left")
else:
    print("Right")

Solution (Python):
A,B,C,D = input().split(' ')
A,B,C,D = [int(A),int(B),int(C),int(D)]

L= A + B
R = C + D

if L>R:
	print("Left")
elif L==R:
	print("Balanced")
else:
	print("Right")

Solution (Python):
A,B,C,D = map(int,input().split(" "))

if (A+B) < (C+D):
	print("Right")

elif (A+B) > (C+D):
	print("Left")

else:
	print("Balanced")

Solution (Python):
A, B, C, D = map(int, raw_input().split(' '))

if A + B > C + D:
    print 'Left'
elif A + B < C + D:
    print 'Right'
else:
    print 'Balanced'

Solution (Python):
A,B,C,D = map(int,input().split())
l = A+B
r = C+D
if(l>r):
    print("Left")
elif(l==r):
    print("Balanced")
elif(l<r):
    print("Right")

Solution (Python):
a,b,c,d=map(int,input().split())
l=a+b
r=c+d

if(l>r):
    print('Left')
elif(r>l):
    print('Right')
else:
    print('Balanced')

Solution (Python):
IN=input()
s=IN.split(" ")
L=int(s[0])+int(s[1])
R=int(s[2])+int(s[3])
if L>R:
    print("Left")
if L==R:
    print("Balanced")
if R>L:
    print("Right")

Solution (Python):

input_line = input().rstrip().split(' ')

result = 'Balanced'
left_weight = int(input_line[0]) + int(input_line[1])
right_weight = int(input_line[2]) + int(input_line[3])

if (left_weight > right_weight):
	result = 'Left'
elif (left_weight < right_weight):
	result = 'Right'

print(result)

Solution (Python):
a,b,c,d = map(int, input().split())
if a + b < c + d:
  print("Right")
elif a + b > c + d:
  print("Left")
else:
  print("Balanced")

Solution (Python):
a,b,c,d=[int(x) for x in input().split()]
if a+b>c+d:print("Left")
elif a+b<c+d:print("Right")
else:print("Balanced")

Solution (Python):
a,b,c,d = map(int, input().split())
if (a+b)>(c+d):
    print("Left")
elif (a+b)<(c+d):
    print("Right")
else:
    print("Balanced")

Solution (Python):
[a, b, c, d] = [int(n) for n in input().split()]
if a + b > c + d:
    print("Left")
elif a + b == c + d:
    print("Balanced")
else:
    print("Right")

Solution (Python):
a,b,c,d=[int(x) for x in input().split()]

if a+b > c+d:
    print('Left')
elif a+b < c+d:
    print('Right')
else:
    print('Balanced')

Solution (Python):



def main(lst):
    left = lst[0] + lst[1]
    right = lst[2] + lst[3]
    if left > right:
        print("Left")
    elif right > left:
        print("Right")
    else:
        print("Balanced")


if __name__ == "__main__":
    lst = [int(val) for val in input().split()]
    main(lst)

Solution (Python):
a,b,c,d = (int(i) for i in input().split())
if (a+b) > (c+d):
    print('Left')
elif (a+b) < (c+d):
    print('Right')
else:
    print('Balanced')

Solution (Python):
a, b, c, d = map(int, input().split())
if (a + b) > (c + d):
    print('Left')
elif (a + b) < (c + d):
    print('Right')
else:
    print('Balanced')

Solution (Python):

from pprint import pprint as pp

abcd = list(map(int, input().split()))
l = sum(abcd[:2])
r = sum(abcd[2:])
if l > r:
  print('Left')
elif l < r:
  print('Right')
else:
  print('Balanced')

Solution (Python):
A,B,C,D = [int(i) for i in input().split()]

Left = A + B;Right = C + D

if Left > Right:
    print("Left")
elif Right > Left:
    print("Right")
else:
    print("Balanced")

Solution (Python):


A, B, C, D = [int(x) for x in input().split()]

if A + B > C + D:
    print("Left")

elif A + B == C + D:
    print("Balanced")

elif A + B < C + D:
    print("Right")

Solution (Python):

A,B,C,D = map(int,input().split(' '))

if A+B > C+D:
    print('Left')
elif A+B is C+D:
    print('Balanced')
else:
    print('Right')

Solution (Python):
a, b, c, d = map(int,input().split())

lsum = a+b
rsum = c+d


if lsum<rsum:
    print('Right')
elif lsum==rsum:
    print('Balanced')
else:
    print('Left')

Solution (Python):
s = input().split(" ")
s = [int(i) for i in s]
a = s[0] + s[1]
b = s[2] + s[3]
if a > b :
    print("Left")
elif a < b : 
    print("Right")
else : 
    print("Balanced")

Solution (Python):
from itertools import combinations, product,cycle
from fractions import gcd
from collections import defaultdict

left = 0
right = 0
for i,value in enumerate(input().split(" ")):
    if i == 0 or i == 1:
        left += int(value)
    else:
        right += int(value)
if left > right:
    print("Left")
elif  left < right:
    print("Right")
else:
    print("Balanced")

Solution (Python):
temp=input()
temp=temp.split(" ")
p=[]
for i in temp:
    p.append(int(i))
if p[0]+p[1]==p[2]+p[3]:
    print("Balanced")
if p[0]+p[1]<p[2]+p[3]:
    print("Right")
if p[0]+p[1]>p[2]+p[3]:
    print("Left")

Solution (Python):


import sys

def main(argv):
    line = sys.stdin.readline()
    while line:
        values = map(lambda x: int(x), line.rstrip("\n").split())
        left = values[0] + values[1]
        right = values[2] + values[3]
        if left == right:
            print "Balanced"
        elif left > right:
            print "Left"
        else:
            print "Right"

        line = sys.stdin.readline()

if __name__ == "__main__":
    main(sys.argv)

Solution (Python):
w=list(map(int, input().split()))

s1=w[0]+w[1]
s2=w[2]+w[3]

if s1>s2:
    print("Left")
elif s1<s2:
    print("Right")
else:
    print("Balanced")

Solution (Python):
A=input().split(' ')
l=int(A[0])+int(A[1])
r=int(A[2])+int(A[3])
if l==r:
  	print('Balanced\n')
elif l>r:
  	print('Left\n')
else:
  	print('Right\n')

Solution (Python):
[A, B, C, D] = map(int, raw_input().split())

if (A+B) > (C+D):
    print "Left"
elif (A+B) < (C+D):
    print "Right"
else:
    print "Balanced"

Solution (Python):
a = list(map(int,input().split()))

left = 0
right = 0
for i, _a in enumerate(a):
    if i < 2:
        left = left + _a
    else:
        right = right + _a

if left > right:
    print('Left')
elif left < right:
    print('Right')
else:
    print('Balanced')

Solution (Python):
weight_list = list(map(int, input().split()))
left = weight_list[0] + weight_list[1]
right = weight_list[2] + weight_list[3]
if left > right:
    print("Left")
elif left == right:
    print("Balanced")
else:
    print("Right")

Solution (Python):
a,b,c,d=map(int,input().split())
L=a+b
R=c+d
if(L>R):
    print("Left")
elif(L==R):
    print("Balanced")
else:
    print("Right")

Solution (Python):
a,b,c,d = map(int,input().split())
if (a+b) == (c+d):
   print('Balanced')
elif (a+b) > (c+d):
   print('Left')
else:
   print('Right')

Solution (Python):


A, B, C, D = list(map(int,input().split()))

left = A + B
right = C + D
if left == right:
    print("Balanced")
elif right > left:
    print("Right")
else:
    print("Left")

Solution (Python):
wei = list(map(int, input().split()))
l = wei[0] + wei[1]
r = wei[2] + wei[3]

if l == r:
    print('Balanced')
elif l < r:
    print('Right')
else:
    print('Left')

Solution (Python):


a,b,c,d=map(int,input().split())
a=a+b
c=c+d

if a>c:
    print('Left')
elif a==c:
    print('Balanced')
else:
    print('Right')

Solution (Python):
A,B,C,D=map(int,raw_input().split())
L=A+B
R=C+D
if L>R:
	print "Left"
elif L==R:
	print "Balanced"
else:
	print "Right"

Solution (Python):
A,B,C,D = map(int,input().split())

E = A + B

F = C + D

if E > F:
	print("Left")
	
if E == F:
	print("Balanced")
	
if E < F:
	print("Right")

Solution (Python):
A, B, C, D = list(map(int, input().split()))

left = A + B
right = C + D

if left > right:
    print("Left")
elif left == right:
    print("Balanced")
else:
    print("Right")

Solution (Python):
def main():
    A, B, C, D = map(int, input().split())
    l = A + B
    r = C + D
    if l > r:
        print("Left")
    elif l == r:
        print("Balanced")
    else:
        print("Right")

if __name__ == '__main__':
    main()

Solution (Python):
import math
A,B,C,D = map(int,input().split())
if(A+B == C+D):
    print("Balanced")
elif(A+B<C+D):
    print("Right")
elif(A+B>C+D):
    print("Left")

Solution (Python):
A, B, C, D = map(int, input().split())

if A+B > C+D:
    print("Left")
elif A+B == C+D:
    print("Balanced")
else:
    print("Right")

Solution (Python):
a, b, c, d = map(int, input().split())
ans = "Left" if a+b>c+d else "Right" if a+b<c+d else "Balanced"
print(ans)

Solution (Python):
A,B,C,D=map(int,input().split())
print("Left" if A+B>C+D else "Right" if A+B<C+D else "Balanced")

Solution (Python):
a = [int(x) for x in  input().split()]

if (a[0]+a[1] > a[2]+a[3]):
    print("Left")
elif (a[0]+a[1] < a[2]+a[3]):
    print("Right")
else:
    print(("Balanced"))

Solution (Python):
w=list(map(int,input().split(" ")))
l=w[0]+w[1]
r=w[2]+w[3]

if l>r:
    print("Left")
elif l==r:
    print("Balanced")
else:
    print("Right")

Solution (Python):
a, b, c, d = map(int, raw_input().split(" "))
if a+b == c+d:
    print "Balanced"
elif a+b > c+d:
    print "Left"
else:
    print "Right"

Solution (Python):


A,B,C,D=[int(i) for i in input().split()]



if A+B > C+D:
    print("Left")
elif A+B < C+D:
    print("Right")
else:
    print("Balanced")

Solution (Python):
A, B, C, D = list(map(int, input().split()))
if A + B > C + D:
    print("Left")
elif A + B < C + D:
    print("Right")
else:
    print("Balanced")

Solution (Python):
import sys

line = sys.stdin.readline().strip()
a, b, c, d = [int(x) for x in line.split()]

if a + b == c + d:
    print("Balanced")
elif a + b > c + d:
    print("Left")
else:
    print("Right")

Solution (Python):
a=[int(i) for i in input().split()]
if a[0]+a[1] > a[2]+a[3]:
  print("Left")
elif a[0]+a[1] < a[2]+a[3]:
  print("Right")
else:
  print("Balanced")

Solution (Python):
a, b, c, d = [int(x) for x in input().split()]
left = a + b
right = c + d
if left > right:
    print("Left")
elif left == right:
    print("Balanced")
else:
    print("Right")

Solution (Python):
a,b,c,d=[int(i) for i in input().split(" ")]

if a+b==c+d:
  print('Balanced')
elif a+b>c+d:
  print('Left')
else:
  print('Right')

Solution (Python):
def main():
    A, B, C, D = map(int, input().split())

    if A + B > C + D:
        print('Left')
    elif A + B < C + D:
        print('Right')
    else:
        print('Balanced')

main()

Solution (Python):
a,b,c,d=[int(i) for i in input().split()]

if a+b==c+d:
    print('Balanced')
elif a+b>c+d:
    print('Left')
else:
    print('Right')

Solution (Python):
def a():
    a, b, c, d = map(int, input().split())
    if a + b > c + d:
        print('Left')
    elif a + b < c + d:
        print('Right')
    else:
        print('Balanced')


if __name__ == '__main__':
    a()

Solution (Python):



a, b, c, d = [int(i) for i in input().split()]
l = a + b
r = c + d

if l > r:
    print('Left')
elif l < r :
    print('Right')
else:
    print('Balanced')

Solution (Python):
A,B,C,D = [int(i) for i in input().split()]
x=A+B
y=C+D
if x>y:
  print('Left')
elif x<y:
  print('Right')
else:
  print('Balanced')

Solution (Python):
a,b,c,d = map(int,input().split())
if a+b > c+d:
    print("Left")
elif a+b < c+d:
    print("Right")
else:
    print("Balanced")

Solution (Python):
print (lambda a,b,c,d: "Left" if a+b>c+d else "Right" if a+b<c+d else "Balanced")(*map(int, raw_input().split()))

Solution (Python):
a, b, c, d = map(int,input().split())

if a + b > c + d :
    print("Left")
elif a + b < c + d:
    print("Right")
else:
    print("Balanced")

Solution (Python):


A, B, C, D = map(int, raw_input().split())

if A+B > C+D:
    print 'Left'
elif A+B == C+D:
    print 'Balanced'
else:
    print 'Right'

Solution (Python):
if __name__=="__main__":
    l = list(map(int,input().split(" ")))
    if l[0]+l[1]>l[2]+l[3]:
        print('Left')
    elif l[0]+l[1]<l[2]+l[3]:
        print('Right')
    else:
        print('Balanced')

Solution (Python):
A, B, C, D = map(int, input().split())
if A + B > C + D:
    print("Left")
elif A + B < C + D:
    print("Right")
else:
    print("Balanced")

Solution (Python):
A, B, C, D=map(int,input().split(' '))

if A+B>C+D:
    print('Left')
elif A+B==C+D:
    print('Balanced')
else:
    print('Right')

Solution (Python):
inputs = input().split()
A = int(inputs[0])
B = int(inputs[1])
C = int(inputs[2])
D = int(inputs[3])

if A+B > C+D:
    print('Left')
elif A+B < C+D:
    print('Right')
else:
    print('Balanced')

Solution (Python):


a = list(map(int,input().split()))

l = a[0] + a[1]
r = a[2] + a[3]

if(l>r):
    print('Left')
elif(l==r):
    print('Balanced')
else:
    print('Right')

Solution (Python):
a, b, c, d = map(int, input().split())

if a + b > c + d:
    print('Left')
elif a + b < c + d:
    print('Right')
else:
    print('Balanced')

Solution (Python):
a, b, c, d = map(int, raw_input().split())

if a + b < c + d:
    print "Right"
elif a + b > c + d:
    print "Left"
else:
    print "Balanced"

Solution (Python):
a, b, c, d = map(int,input().split())
s = a + b
t = c + d

if s > t:
    print("Left")
elif s < t:
    print("Right")
else:
    print("Balanced")

Solution (Python):
A, B , C , D = map(int, input().split())

if (A+B) > (C+D):
    print("Left")
elif (A+B) < (C+D):
    print("Right")
else:
    print("Balanced")

Solution (Python):
a, b, c, d = list(map(int, input().split()))

if (a+b) < (c+d):
    print ('Right')
elif (a+b) > (c+d):
    print ('Left')
else:
    print ('Balanced')

Solution (Python):
A, B, C, D=map(int,input().split())
if A+B > C+D:
    print("Left")
elif A+B == C+D:
    print("Balanced")
else:
    print("Right")

Solution (Python):
a, b, c, d = map(int, input().split())

if a+b > c+d:
    print('Left')
elif a+b < c+d:
    print('Right')
else:
    print('Balanced')

Solution (Python):
import sys
a, b, c, d = map(int, sys.stdin.readline().split())
if a+b > c+d:
    print('Left')
elif a+b == c+d:
    print('Balanced')
else:
    print('Right')

Solution (Python):
a, b, c, d = map(int, input().split())
if a+b > c+d:
    print("Left")
elif a+b < c+d:
    print("Right")
else:
    print("Balanced")

Solution (Python):
a, b, c, d = map(int, raw_input().split())
print 'Left' if a + b > c + d else 'Balanced' if a + b == c + d else 'Right'

Solution (Python):
a,b,c,d=input().split()
if((int(a)+int(b))>(int(c)+int(d))):
    print('Left')
elif((int(a)+int(b))<(int(c)+int(d))):
    print('Right')
else:
    print('Balanced')

Solution (Python):
a,b,c,d = map(int,input().split())
if a+b > c+d:
  print("Left")
elif a+b == c+d:
  print("Balanced")
else:
  print("Right")

Solution (Python):
a, b, c, d = map(int,input().split())
l = a+b
r = c + d
if l > r:
    print('Left')
elif l < r:
    print('Right')
else:
    print('Balanced')

Solution (Python):
def main():
    A, B, C, D = map(int, input().split())
    hoge = A + B
    fuga = C + D

    if hoge > fuga:
        print("Left")
    elif hoge == fuga:
        print("Balanced")
    else:
        print("Right")


if __name__ == "__main__":
    main()

Solution (Python):
a,b,c,d=[int(i) for i in input().split()]
if a+b>c+d:
  print("Left")
elif a+b<c+d:
  print("Right")
else:
  print("Balanced")

Solution (Python):
A, B, C, D = map(int, input().split())
if A+B > C+D:
  print("Left")
elif A+B < C+D:
  print("Right")
else:
  print("Balanced")

Solution (Python):

a, b, c, d = list(map(int, input().split()))

if a + b > c + d:
    print("Left")
elif a + b < c + d:
    print("Right")
else:
    print("Balanced")

Solution (Python):
a,b,c,d = [int(i) for i in input().split()]
if a + b == c + d:
  print('Balanced')
elif a + b > c + d:
  print('Left')
else:
  print('Right')

Solution (Python):
a,b,c,d = map(int,input().split())
l = a+b
r = c+d
if l > r:
	print('Left')
elif l == r:
	print('Balanced')
else:
	print('Right')

Solution (Python):
A, B, C, D = map(int, input().split())
if A+B == C+D:
    print("Balanced")
elif A+B > C+D:
    print("Left")
else:
    print("Right")