#include <bits/stdc++.h>
int i, m, n, s, t;
inline int SG1(int x) {
  if (x == 1) return 1;
  if (x == 2) return 2;
  if (x & 1)
    return 0;
  else
    return 1;
}
inline int SG2_(int x, int y) {
  if (x <= 3)
    if (y & 1) switch (x) {
        case 1:
          return 1;
        case 2:
          return 2;
        case 3:
          return 2;
      }
    else
      switch (x) {
        case 1:
          return 2;
        case 2:
          return 1;
        case 3:
          return 1;
      }
  if (!(x & 1))
    return SG2_(x / 2, y + 1);
  else if (!y)
    return 0;
  else if (y & 1)
    return 1;
  else
    return 2;
}
inline int SG2(int x) {
  switch (x) {
    case 1:
      return 1;
    case 2:
      return 0;
    case 3:
      return 1;
    case 4:
      return 2;
    case 5:
      return 0;
    case 6:
      return 2;
    case 7:
      return 0;
    case 8:
      return 1;
  }
  return SG2_(x, 0);
}
int main() {
  scanf("%d%d", &n, &m);
  for (i = 1; i <= n; i++) {
    scanf("%d", &t);
    if (!(m & 1))
      s = s ^ SG1(t);
    else
      s = s ^ SG2(t);
  }
  if (s)
    puts("Kevin");
  else
    puts("Nicky");
  return 0;
}
