/*
    In the name of Allah

    MohammadErfan Gooneh

*/
#include <bits/stdc++.h>

using namespace std;

typedef long long ll;
typedef long double ld;
typedef pair<ll, ll> pll;

#define endl                        '\n'
#define all(a, n)                   for (int i = 0; i < n; i++) cout << a[i] << " "; cout << endl;
#define IOS                         ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0);


const ll MAXN = 1e6 + 10;
const ll INF = 8e18;
const ll MOD = 1e9 + 7;
int main() {
    IOS ;
    int a[3] ;
    for(int i = 0 ; i < 3 ; i++)
        cin >> a[i] ;
    sort(a , a+3) ;
    cout << a[0] + a[1] ;


























return 0 ;
}

#include <iostream>
#include <stdio.h>

using namespace std;

int main() {
  int A, B, C, D;
  cin >> A >> B >> C >> D;

  if (A + B > C + D) {
    printf("Left\n");
  } else if (A + B < C + D) {
    printf("Right\n");
  } else {
    printf("Balanced\n");
  }
}