#include <bits/stdc++.h>
using namespace std;
int a[100001];
int main() {
  int n, m;
  scanf("%d", &n);
  for (int i = 1; i <= n; i++) {
    scanf("%d", &m);
    a[m]++;
  }
  for (int i = 1; i <= 100000; i++)
    if (a[i] % 2 == 1) {
      printf("Conan\n");
      return 0;
    }
  printf("Agasa\n");
}
