//300
fun a020(args: Array<String>) {
    val (N, A, B) = args[0].split(" ").map { it.toInt() }
    when {
        A == 1 && B == 2 -> println("Borys")
        A == N && B == N - 1 -> println("Borys")
        Math.abs(A - B) % 2 == 1 -> println("Borys")
        else -> println("Alice")
    }
}

fun main(args: Array<String>) {
    a020(readLineList())
}

fun readLineList(): Array<String> {
    val lineList = mutableListOf<String>()
    while (true) {
        val line = readLine()
        if (line.isNullOrBlank()) {
            break
        } else {
            lineList.add(line!!)
        }
    }
    return lineList.toTypedArray()
}