#include <bits/stdc++.h>
using namespace std;
int N, K;
int gru0[] = {0, 1, 2};
int gru1[] = {0, 1, 0, 1, 2};
int grundy(int x) {
  if (K) {
    if (x < 5) {
      return gru1[x];
    } else if (x & 1) {
      return 0;
    } else {
      return grundy(x / 2) == 1 ? 2 : 1;
    }
  } else {
    return x <= 2 ? x : !(x & 1);
  }
}
int main() {
  if (fopen("input.txt", "r")) {
    freopen("input.txt", "r", stdin);
  }
  ios::sync_with_stdio(false);
  cin >> N >> K;
  K %= 2;
  int ans = 0;
  for (int i = 0, x; i < N; i++) {
    cin >> x;
    ans ^= grundy(x);
  }
  cout << (ans ? "Kevin" : "Nicky") << endl;
}
