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): if c[i]==a:r=i else:break for i in R(K,-1,-1): if c[i]==a:l=i else: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)