#include<bits/stdc++.h>
using namespace std;
int main(){
  cin.tie(0);
  ios::sync_with_stdio(false);
  int n, h, w;
  cin >> n >> h >> w;
  cout << (n-h+1)*(n-w+1) << endl;  
  return 0;
}
#include <iostream>

using namespace std;

int main()
{
    int a,b,c,d;
    cin>>a>>b>>c>>d;
    a=a+b;
    c=c+d;
    if(a>c)
    {
        cout<<"Left";
    }
    else if(a==c)
        cout<<"Balanced";
    else
        cout<<"Right";
    return 0;
}
