#include <bits/stdc++.h> using namespace std; const int N = 50; int sg[N]; int main(void) { for (int i = 1; i < N; ++i) sg[i] = i % 3 + (i % 3 == 0 ? 3 : 0); int c[26] = { 0 }; string s; cin >> s; for (char ch : s) c[ch - 'A']++; int ans = 0; for (int i = 0; i < 26; ++i) if (c[i]) ans ^= sg[c[i]]; printf("%s\n", ans == 0 ? "Bob" : "Alice"); return 0; }