N, K, T = map(int, input().split()) C = input() K -= 1 S = C[K] n = 0 if S == "A" else "B" l, r = 0, 0 fl, fr = False, False idx = K-1 while 0 <= idx and C[idx] == S: l += 1 idx -= 1 if idx == -1: fl = True idx = K+1 while idx < N and C[idx] == S: r += 1 idx += 1 if idx == N: fr = True ans = ["Alice", "Bob"] if 1 <= l+r: if l%2 != T%2 and l < T and not fl or r%2 != T%2 and r < T and not fr: print(ans[n]) else: print(ans[n^1]) else: if T%2 == 1: print(ans[n]) else: print(ans[n^1])