#include <stdio.h>
int main()
{
    int a,b,c,d,right,left;
    scanf("%d %d %d %d",&a,&b,&c,&d);
    right=a+b;
    left=c+d;
    if(right>left){
        printf("RIGHT\n");
        printf("The total weight of the masses on the left pan is %d, and the total weight of the masses on the right pan is %d. Since %d>%d, we should print RIGHT.",left,right,right,left);

    }
    else if(left>right){
        printf("LEFT\n");
        printf("The total weight of the masses on the left pan is %d, and the total weight of the masses on the right pan is %d. Since %d>%d, we should print Left.",left,right,left,right);

    }

    else{
        printf("BALANCED\n");
        printf("The total weight of the masses on the left pan is %d, and the total weight of the masses on the right pan is %d. Since %d>%d, we should print BALANCED.",left,right,left,right);

    }








    return 0;

}
