#include <bits/stdc++.h>
using namespace std;
const double pi = acos(-1.0);
const double eps = 1e-11;
int main() {
  std::ios_base::sync_with_stdio(0);
  int n, m, mn, mx, t;
  bool flg = true;
  cin >> n >> m >> mn >> mx;
  vector<int> v;
  v.push_back(mn);
  v.push_back(mx);
  bool flg1 = false, flg2 = false;
  for (int i = 0; i < m; ++i) {
    cin >> t;
    if (t == mn && flg1 == false) {
      flg1 = true;
      continue;
    }
    if (t == mx && flg2 == false) {
      flg2 = true;
      continue;
    }
    v.push_back(t);
    if (t < mn || t > mx) flg = false;
  }
  sort((v).begin(), (v).end());
  if (v[0] != mn || v[int((v).size()) - 1] != mx || int((v).size()) > n)
    cout << "Incorrect" << endl;
  else
    cout << "Correct" << endl;
  return 0;
}
