#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m, Min, Max;
  int num[110];
  bool flag = true;
  flag = true;
  cin >> n >> m >> Min >> Max;
  for (int i = 0; i < m; i++) {
    cin >> num[i];
    if (num[i] < Min || num[i] > Max) flag = false;
  }
  sort(num, num + m);
  if (flag) {
    switch (n) {
      case 1:
        if (num[0] != Min) flag = false;
        break;
      case 2:
        if (2 == m) {
          if (num[0] != Min || num[1] != Max) flag = false;
        } else {
          if (num[0] != Min && num[0] != Max) flag = false;
        }
        break;
      default:
        if (n == m) {
          if (num[0] != Min || num[m - 1] != Max) flag = false;
        } else if (1 == n - m) {
          if (num[0] != Min && num[m - 1] != Max) {
            flag = false;
          }
        }
    }
  }
  if (flag)
    cout << "Correct";
  else
    cout << "Incorrect";
  return 0;
}
