#include <bits/stdc++.h>
using namespace std;
int n, m, min_val, max_val;
int temps[123];
int main() {
  cin >> n >> m >> min_val >> max_val;
  bool min_exists = false;
  bool max_exists = false;
  for (int i = 0; i < m; ++i) {
    cin >> temps[i];
    if (temps[i] > max_val || temps[i] < min_val) {
      cout << "Incorrect";
      return 0;
    }
    if (temps[i] == min_val) {
      min_exists = true;
    }
    if (temps[i] == max_val) {
      max_exists = true;
    }
  }
  if ((min_exists && max_exists) ||
      ((min_exists || max_exists) && n - m >= 1) || (n - m >= 2)) {
    cout << "Correct";
  } else {
    cout << "Incorrect";
  }
  return 0;
}
