#include <bits/stdc++.h>
using namespace std;
signed main() {
  ios::sync_with_stdio(false);
  long long n, m, s, d;
  cin >> n >> m >> s >> d;
  long long a[n];
  for (long long i = 0; i < n; i++) cin >> a[i];
  sort(a, a + n);
  vector<pair<string, long long> > v;
  long long x = a[0] - 1;
  if (a[0] - 1 >= s)
    v.push_back({"RUN", a[0] - 1});
  else
    goto NO;
  for (long long i = 1; i < n; i++) {
    if (a[i] - a[i - 1] - 2 >= s) {
      if (a[i - 1] + 1 - x <= d) {
        v.push_back({"JUMP", a[i - 1] + 1 - x});
        v.push_back({"RUN", a[i] - a[i - 1] - 2});
        x = a[i] - 1;
      } else
        goto NO;
    }
  }
  if (a[n - 1] + 1 - x <= d) {
    v.push_back({"JUMP", a[n - 1] + 1 - x});
    if (a[n - 1] + 1 < m) v.push_back({"RUN", m - a[n - 1] - 1});
    goto YES;
  } else
    goto NO;
NO : {
  cout << "IMPOSSIBLE";
  return 0;
}
YES : {
  for (long long i = 0; i < v.size(); i++)
    cout << v[i].first << " " << v[i].second << endl;
}
}
