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()))

print(('Alice' if (b - a) % 2 == 0 else '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()))
print(("Alice" if (b - a) % 2 == 0 else "Borys"))

-if (b - a) % 2 == 0: -    print("Alice") -else: -    print("Borys") +print(("Alice" if (b - a) % 2 == 0 else "Borys"))