
import Control.Applicative
import Data.List
import Data.Char

getInt :: IO Int
getInt = (\a -> read a :: Int) <$> getLine

getIntArray :: IO [Int]
getIntArray = ((map (\a -> read a :: Int)) . words) <$> getLine

getStrArray :: Int -> IO [String]
getStrArray 0 = return [] :: IO [String]
getStrArray n = (:) <$> getLine <*> (getStrArray (n - 1))

balance :: [Int] -> String
balance [a, b, c, d]
    | a + b == c + d = "Balanced"
    | a + b < c + d = "Right"
    | otherwise = "Left"

main = do
    putStrLn =<< balance <$> getIntArray
