N,A,B = list(map(int,input().split()))

if abs(A-B)%2==0:

    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 abs(A - B) % 2 == 0:
    print("Alice")
else:
    print("Borys")

N, A, B = list(map(int, input().split()))
if (B - A) % 2 == 0:
    print("Alice")
else:
    print("Borys")

-if abs(A - B) % 2 == 0: +if (B - A) % 2 == 0: