object Main {
  def main(args: Array[String]): Unit = {
    import scala.io.StdIn.readLine
    val Array(datN, datA, datB) = readLine.split(" ").map(_.toInt)

    val distance = datB - datA - 1
    val winnerAlice = (distance % 2 == 1)

    println(if(winnerAlice) "Alice" else "Borys")
  }
}
