#include #include using namespace std; void dfs(vector& checked, vector>& path, int island) { checked[island] = true; for (auto i : path[island]) { if (!checked[i]) dfs(checked, path, i); } } int main() { int n; cin >> n; vector> path(n, vector()); vector checked(n, false); for (int i=0; i> u >> v; path[u].push_back(v); path[v].push_back(u); } int cnt = 0; for (int i=0; i= 2) cout << "Alice" << endl; else cout << "Bob" << endl; }