#include <bits/stdc++.h>
using namespace std;
int main() {
  int i, j, k, p, q, mx = 0, sm = -1, smc = 0, cnt = 0, n;
  scanf("%d", &n);
  int arr[n + 5];
  int a[100050];
  memset(a, 0, sizeof(a));
  for (i = 0; i < n; i++) {
    scanf("%d", &p);
    a[p]++;
    arr[i] = p;
  }
  sort(arr, arr + n);
  for (i = n - 1; i >= 0; i--) {
    if (a[arr[i]] % 2) {
      return !printf("Conan\n");
    }
  }
  printf("Agasa\n");
  return 0;
}
