#include using namespace std; #define rep(i,n) for(int i=0;i<(int)(n);i++) #define ALL(v) v.begin(),v.end() typedef long long ll; template using V=vector; template using VV=V>; int main(){ ios::sync_with_stdio(false); std::cin.tie(nullptr); int n,m; cin>>n>>m; V P(m),Q(m),A(2*n,-1),L(2*n,-1),R(2*n,-1); rep(i,m){ cin>>P[i]>>Q[i]; P[i]--,Q[i]--; A[P[i]]=i,A[P[i]+n]=i; A[Q[i]]=i,A[Q[i]+n]=i; } if(m==0){ if(n%4==2) cout<<"Akane"<=0;i--){ if(A[i]!=-1) now=A[i]; else R[i]=now; } map,int> mp; rep(i,n){ if(A[i]!=-1) continue; int l,r; if(L[i]!=-1) l=L[i]; else l=L[i+n]; if(R[i]!=-1) r=R[i]; else r=R[i+n]; if(l>r) swap(l,r); mp[{l,r}]++; } for(auto [a,b]:mp){ if(b%4==2){ cout<<"Akane"<