def f(c): if c == "A": return 0 elif c == "B": return 1 else: return c N, K, T = map(int, input().split()) C = [None] + list(input()) + [None] C = list(map(f, C)) D = ["Alice", "Bob"] left, right = 0, 0 for i in range(K - 1, -1, -1): if C[K] == C[i]: left += 1 else: break for i in range(K + 1, N + 1): if C[K] == C[i]: right += 1 else: break if left % 2 and T > left: print(D[C[K]]) elif right % 2 and T > right: print(D[C[K]]) elif T <= left and T <= right: print(D[1 - C[K]]) else: print(D[C[K]]) if T % 2 else print(D[1 - C[K]]) # if C[K - 1] != C[K] and C[K + 1] != C[K]: # print(D[C[K]]) if T % 2 else print(D[1 - C[K]])