n = int(input()) s = input() x = 0 for i in range(n): if s[i] == 'B': x += i % 2 + 1 if x % 3 == 0: print('Bob') else: print('Alice')