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

det = (B-A)%2

if det == 1:

    print('Borys')

else:

    print('Alice')
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()))
det = (B - A) % 2
if det == 1:
    print("Borys")
else:
    print("Alice")

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

-det = (B - A) % 2 -if det == 1: +if (B - A) % 2 == 0: +    print("Alice") +else: -else: -    print("Alice")