#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  int n, k;
  cin >> n >> k;
  k %= 2;
  function<int(int)> SG[2] = {
      [](int a) {
        return a < 3 ? vector<int>{0, 1, 2}[a] : (a ^ 1) % 2;
      },
      [](int n) {
        if (n < 10)
          return vector<int>{0, 1, 0, 1, 2, 0, 2, 0, 1, 0}[n];
        else if (n % 2)
          return 0;
        else {
          for (int k = 1; k < 30; ++k) {
            if (k % 2 == 0 and n == 3 * (1 << k))
              return 1;
            else if (k % 2 and n % (1 << k) == 0 and (n >> k & 1) and
                     (n >> k + 1) > 1)
              return 1;
          }
          return 2;
        }
      }};
  int ans = 0;
  for (int i = 0; i < n; ++i) {
    int a;
    cin >> a;
    ans ^= SG[k](a);
  }
  cout << (ans ? "Kevin" : "Nicky") << '\n';
}
