n, a, b = list(map(int, input().split()))

if (b - a) % 2 == 0:

    print("Alice")

else:

    print("Borys")
n, a, b = list(map(int, input().split()))

if (b - a + 1) % 2:

    print("Alice")

else:

    print("Borys")
n, a, b = list(map(int, input().split()))
if (b - a) % 2 == 0:
    print("Alice")
else:
    print("Borys")

n, a, b = list(map(int, input().split()))
if (b - a + 1) % 2:
    print("Alice")
else:
    print("Borys")

-if (b - a) % 2 == 0: +if (b - a + 1) % 2: