#include using namespace std; int main() { string player; cin >> player; int n; cin >> n; cout << n-2 << endl; if (player == "Alice") { vector> g(n); for (int i=0; i> x >> y; x--; y--; g[x].push_back(y); g[y].push_back(x); } vector s(n); for (int i=0; i, greater> q; for (int i=0; i ans; for (int i=0; i a(n-2), s(n, 1); for (auto& i : a) { cin >> i; i--; } for (auto& i : a) s[i]++; priority_queue, greater> q; for (int i=0; i