#include <bits/stdc++.h>
using namespace std;
const int INF = 1000000001;
const long double EPS = 1e-9;
const int MOD = 1000000007;
const long long LLINF = 1000000000000000001;
const int maxv = 100042;
int a[maxv];
int main() {
  ios_base::sync_with_stdio(false);
  int n;
  cin >> n;
  for (int i = 1; i <= n; i++) {
    int x;
    cin >> x;
    a[x]++;
  }
  bool win = false;
  for (int i = maxv - 1; i >= 0; i--)
    if (a[i] % 2 == 1) win = true;
  if (win)
    cout << "Conan\n";
  else
    cout << "Agasa\n";
}
