#include <bits/stdc++.h>
using namespace std;
int arr[105], n, m, i, miny, maxy;
int main() {
  cin >> n >> m >> miny >> maxy;
  for (i = 1; i <= m; i++) cin >> arr[i];
  if (n == 2) {
    if ((arr[1] == miny) || (arr[1] == maxy))
      cout << "Correct";
    else
      cout << "Incorrect";
  } else {
    int p = 0, p1 = 0, x = 0;
    for (i = 1; i <= m; i++) {
      if ((arr[i] > miny) && (arr[i] < maxy))
        p++;
      else {
        if ((arr[i] == miny) || (arr[i] == maxy))
          p1++;
        else
          x = -1;
      }
    }
    if (x != -1) {
      if (m == (n - 1)) {
        if (p1 == 0) x = -1;
      }
    }
    if (x != -1)
      cout << "Correct";
    else
      cout << "Incorrect";
  }
  return 0;
}
