#include <bits/stdc++.h>
const int maxn = 4000 + 10;
int n, x[maxn], y[maxn];
int map[4000000 + 10];
int main() {
  std::cin >> n;
  for (int i = 1; i <= n; ++i) std::cin >> x[i];
  for (int i = 1; i <= n; ++i) std::cin >> y[i];
  for (int i = 1; i <= n; ++i) map[x[i]] = map[y[i]] = 1;
  int ans = 0;
  for (int i = 1; i <= n; ++i)
    for (int j = 1; j <= n; ++j) ans += map[i ^ j];
  puts(~ans & 1 ? "Karen" : "Kiyomi");
  return 0;
}
