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 l0 and K-l<=T and (T-K+l)%2:P(A),E(0) P(B),E(0) if T%2: l=r=K for i in R(K+1,N): if c[i]==b:r=i else:break for i in R(K-1,-1,-1): if c[i]==b:l=i else:break if KT 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)