unittest
{
	assert( [ "5 2 4" ].parse.expand.solve == "Alice" );
	assert( [ "2 1 2" ].parse.expand.solve == "Borys" );
	assert( [ "58 23 42" ].parse.expand.solve == "Borys" );
}



import std.conv;
import std.range;
import std.stdio;
import std.typecons;

void main()
{
	stdin.byLineCopy.parse.expand.solve.writeln;
}

auto parse( Range )( Range input )
if( isInputRange!Range && is( ElementType!Range == string ) )
{
	auto nab = input.front.split.to!( long[] );
	return tuple( nab[ 0 ], nab[ 1 ], nab[ 2 ] );
}

auto solve( long n, long a, long b )
{
	if( ( b - a ) % 2 == 0 ) return "Alice";
	else                     return "Borys";
}
