#include <bits/stdc++.h>
using namespace std;
long long n, a[3000], b[3000], has = 0;
int x[4000005] = {0};
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cin >> n;
  for (int i = 0; i < n; i++) cin >> a[i];
  for (int i = 0; i < n; i++) cin >> b[i];
  for (int i = 0; i < n; i++) {
    for (int j = 0; j < n; j++) {
      x[a[i] ^ b[j]]++;
    }
  }
  for (int i = 0; i < n; i++) has += (x[a[i]] + x[b[i]]);
  if (has % 2 == 0)
    cout << "Karen"
         << "\n";
  else
    cout << "Koyomi"
         << "\n";
  return 0;
}
