I,R,P,E=input,range,print,exit N,K,T=map(int,I().split()) K-=1 c=I() a="A" b="B" A="Alice" B="Bob" if c[K]>a:a,b,A,B=b,a,B,A for i in R(K,N): r=i if c[i]==b:break for i in R(K,-1,-1): l=i if c[i]==b:break if lT or (T-r+K)%2<1):P(A),E(0) if lT or (T-K+l)%2<1):P(A),E(0) P(B),E(0)