let rec rank x =
  if x <= 3 then 0 else 1 + rank (x / 2 + (x mod 2) * 2)

let () =
  let r = Scanf.scanf "%d %d" (fun x y -> rank (x + 2 * y)) in
  print_endline (if r mod 2 = 1 then "Alice" else "Brown")
