#include <bits/stdc++.h>
using namespace std;
int main() {
  int i, n, m, min, max;
  int tempmax = 0, tempmin = 1000, temp;
  scanf("%d%d%d%d", &n, &m, &min, &max);
  for (i = 1; i <= m; i++) {
    scanf("%d", &temp);
    if (temp > tempmax) tempmax = temp;
    if (temp < tempmin) tempmin = temp;
  }
  int flag = 1;
  if ((tempmax > max) || (tempmin < min))
    flag = 0;
  else if (n - m == 1) {
    if ((max != tempmax) && (min != tempmin))
      flag = 0;
    else
      flag = 1;
  }
  if (flag)
    cout << "Correct" << endl;
  else
    cout << "Incorrect" << endl;
  return 0;
}
