void main(){ import std.stdio, std.string, std.conv, std.algorithm; int n; rd(n); long[4] cnt; foreach(_; 0..n){ int x, y; rd(x, y); if((x&1)&&(y&1)) cnt[0]++; else if(x&1) cnt[1]++; else if(y&1) cnt[2]++; else cnt[3]++; } auto sum=reduce!((r, e)=>r+e/2)(0L, cnt); if(sum&1) writeln("Alice"); else writeln("Bob"); } void rd(T...)(ref T x){ import std.stdio, std.string, std.conv; auto l=readln.split; assert(l.length==x.length); foreach(i, ref e; x){ e=l[i].to!(typeof(e)); } }