#include <bits/stdc++.h>
using namespace std;
int n, m, mn, mx;
int a[1000];
int real_mn, real_mx;
int main() {
  cin >> n >> m >> mn >> mx;
  for (int i = 0; i < m; i++) cin >> a[i];
  sort(a, a + m);
  real_mn = a[0];
  real_mx = a[m - 1];
  if (real_mn == mn && real_mx == mx)
    cout << "Correct";
  else if (real_mn > mn && real_mx < mx && n - m > 1)
    cout << "Correct";
  else if (real_mn == mn && real_mx < mx && m < n)
    cout << "Correct";
  else if (real_mn > mn && real_mx == mx && m < n)
    cout << "Correct";
  else
    cout << "Incorrect";
  return 0;
}
