const inputText = require("fs")
  .readFileSync("/dev/stdin", "utf8")
  .split("")
  .map((i) => parseInt(i, 10));

const left = inputText[0] + inputText[1];
const right = inputText[2] + inputText[3];

if (left < right) {
  console.log("Right");
} else if (left > right) {
  console.log("Left");
} else {
  console.log("Balanced");
}
