import Data.Bool
main = interact $ bool "Alice" "Brown" . sol . map read . words
sol [a,b] = abs (a-b)<2
{-
import Data.List
sol [a,b] = grundy (a,b)==0
grundy = mex . fmap grundy . move
mex = head . ([0..] \\)
move (a,b)
  | max a b<2 = []
  | otherwise = [(a-2*i,b+i) | i <- [1..a `div` 2]] ++ [(a+j,b-2*j) | j <- [1..b `div` 2]]
-}