import Data.List
import qualified Data.ByteString.Char8 as B

main :: IO ()
main = breads >>= putStrLn . solve 

solve :: [Int] -> String
solve (_ : a : b : _)
    | odd (b - a - 1) = "Alice"
    | otherwise = "Borys"

breads :: IO [Int]
breads = unfoldr uff <$> B.getLine
    where
        uff b = check <$> B.readInt b
        check (a, b)
            | B.null b = (a, b)
            | otherwise = (a, B.tail b)