#include<bits/stdc++.h> using namespace std; const int N=2e6+5; int n, m, tot; vector <int> t; int lc[N], rc[N]; inline bool isleaf(int u) { ___(1)___;} inline bool solve(vector <int> t) { if (t.empty()) return false; for (auto o : t) if (isleaf(o)) return true; vector<int> t1,t2,t3,t4; for (auto o : t) { if(!lc[o]) t2.push_back(rc[o]); if(!rc[o]) t1.push_back(lc[o]); if( ___(2)___ ) { if (isleaf(lc[o])) t3.push_back(rc[o]); if (isleaf(rc[o])) t4.push_back(lc[o]); } } ___(3)___; } int main() { scanf("%d", &m); for (int i=1; i<=m; ++i) { int n; scanf("%d" ,&n);___(4)___; for (int j=1; j<=n; ++j) { scanf("%d", &lc[tot+j]); if (lc[tot+j]) lc[tot+j] += tot; scanf("%d", &rc[tot+j]); if (rc[tot+j]) rc[tot+j] += tot; } ___(5)___; } if (solve(t)) printf("Almost Complete\n"); else printf("No\n"); return 0; }