import sys input = sys.stdin.readline N, K, T = map(int, input().split()) c = list(input().rstrip()) K -= 1 flip = False if c[K] == 'B': flip = True c = ['B' if x == 'A' else 'A' for x in c] def answer(ans): if ans == 0: print("Alice" if not flip else "Bob") else: print("Bob" if not flip else "Alice") dist = [] for i in range(K+1, N): if i-K > T: break if c[i] == 'B': dist.append(i - K) break for i in range(K)[::-1]: if K-i > T: break if c[i] == 'B': dist.append(K - i) break if not dist: answer(1) exit() if max(dist) > 1: if any(T % 2 == d % 2 for d in dist): answer(0) else: answer(1) else: if T % 2 == 0: answer(1) else: if T == 1: answer(0) elif K + 2 < N and c[K+1] == c[K+2] == 'B' and K - 2 >= 0 and c[K-1] == c[K-2] == 'B': answer(1) else: answer(0)