#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ull = unsigned long long;
using pii = pair<int, int>;
using pll = pair<ll, ll>;
ll Fenwick_Get(vector<ll> &sum, int r) {
  ll res = 0;
  for (; r >= 0; r = ((r) & (r + 1)) - 1) {
    res += sum[r];
  }
  return res;
}
int dist(string &a, string &b) {
  int res = 0;
  for (int i = 0; i < 6; ++i) {
    if (a[i] != b[i]) {
      ++res;
    }
  }
  return res;
}
void Fenwick_Inc(vector<ll> &sum, int i, ll delta) {
  for (; i < sum.size(); i = (i) | (i + 1)) {
    sum[i] += delta;
  }
}
struct segment {
  int l;
  int r;
};
struct ans {
  string type;
  int d;
};
int main() {
  int n, m, s, d;
  cin >> n >> m >> s >> d;
  vector<int> v(n);
  for (int i = 0; i < n; ++i) {
    cin >> v[i];
  }
  sort(v.begin(), v.end());
  vector<segment> all;
  for (int i = 0; i < n; ++i) {
    segment next = {v[i], v[i]};
    while (all.size() && next.l - all.back().r - 2 < s) {
      next.l = all.back().l;
      all.pop_back();
    }
    all.push_back(next);
  }
  vector<ans> res;
  for (int i = 0; i < all.size(); ++i) {
    if (all[i].r - all[i].l + 2 > d) {
      cout << "IMPOSSIBLE" << endl;
      return 0;
    }
    if (!i) {
      if (all[0].l <= s) {
        cout << "IMPOSSIBLE" << endl;
        return 0;
      } else {
        res.push_back({"RUN", all[0].l - 1});
        res.push_back({"JUMP", all[0].r - all[0].l + 2});
      }
    } else {
      res.push_back({"RUN", (all[i].l - all[i - 1].r - 2)});
      res.push_back({"JUMP", all[i].r - all[i].l + 2});
    }
  }
  if (all.back().r + 1 != m) {
    res.push_back({"RUN", (m - all.back().r - 1)});
  }
  for (auto elem : res) {
    cout << elem.type << " " << elem.d << endl;
  }
}

### Prompt

Develop a solution in Cpp to the problem described below:

A sportsman starts from point xstart = 0 and runs to point with coordinate xfinish = m (on a straight line). Also, the sportsman can jump — to jump, he should first take a run of length of not less than s meters (in this case for these s meters his path should have no obstacles), and after that he can jump over a length of not more than d meters. Running and jumping is permitted only in the direction from left to right. He can start andfinish a jump only at the points with integer coordinates in which there are no obstacles. To overcome some obstacle, it is necessary to land at a point which is strictly to the right of this obstacle.

On the way of an athlete are n obstacles at coordinates x1, x2, ..., xn. He cannot go over the obstacles, he can only jump over them. Your task is to determine whether the athlete will be able to get to the finish point.

Input

The first line of the input containsd four integers n, m, s and d (1 ≤ n ≤ 200 000, 2 ≤ m ≤ 109, 1 ≤ s, d ≤ 109) — the number of obstacles on the runner's way, the coordinate of the finishing point, the length of running before the jump and the maximum length of the jump, correspondingly.

The second line contains a sequence of n integers a1, a2, ..., an (1 ≤ ai ≤ m - 1) — the coordinates of the obstacles. It is guaranteed that the starting and finishing point have no obstacles, also no point can have more than one obstacle, The coordinates of the obstacles are given in an arbitrary order.

Output

If the runner cannot reach the finishing point, print in the first line of the output "IMPOSSIBLE" (without the quotes).

If the athlete can get from start to finish, print any way to do this in the following format:

  * print a line of form "RUN X>" (where "X" should be a positive integer), if the athlete should run for "X" more meters; 
  * print a line of form "JUMP Y" (where "Y" should be a positive integer), if the sportsman starts a jump and should remain in air for "Y" more meters. 



All commands "RUN" and "JUMP" should strictly alternate, starting with "RUN", besides, they should be printed chronologically. It is not allowed to jump over the finishing point but it is allowed to land there after a jump. The athlete should stop as soon as he reaches finish.

Examples

Input

3 10 1 3
3 4 7


Output

RUN 2
JUMP 3
RUN 1
JUMP 2
RUN 2


Input

2 9 2 3
6 4


Output

IMPOSSIBLE

### Response

```cpp
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ull = unsigned long long;
using pii = pair<int, int>;
using pll = pair<ll, ll>;
ll Fenwick_Get(vector<ll> &sum, int r) {
  ll res = 0;
  for (; r >= 0; r = ((r) & (r + 1)) - 1) {
    res += sum[r];
  }
  return res;
}
int dist(string &a, string &b) {
  int res = 0;
  for (int i = 0; i < 6; ++i) {
    if (a[i] != b[i]) {
      ++res;
    }
  }
  return res;
}
void Fenwick_Inc(vector<ll> &sum, int i, ll delta) {
  for (; i < sum.size(); i = (i) | (i + 1)) {
    sum[i] += delta;
  }
}
struct segment {
  int l;
  int r;
};
struct ans {
  string type;
  int d;
};
int main() {
  int n, m, s, d;
  cin >> n >> m >> s >> d;
  vector<int> v(n);
  for (int i = 0; i < n; ++i) {
    cin >> v[i];
  }
  sort(v.begin(), v.end());
  vector<segment> all;
  for (int i = 0; i < n; ++i) {
    segment next = {v[i], v[i]};
    while (all.size() && next.l - all.back().r - 2 < s) {
      next.l = all.back().l;
      all.pop_back();
    }
    all.push_back(next);
  }
  vector<ans> res;
  for (int i = 0; i < all.size(); ++i) {
    if (all[i].r - all[i].l + 2 > d) {
      cout << "IMPOSSIBLE" << endl;
      return 0;
    }
    if (!i) {
      if (all[0].l <= s) {
        cout << "IMPOSSIBLE" << endl;
        return 0;
      } else {
        res.push_back({"RUN", all[0].l - 1});
        res.push_back({"JUMP", all[0].r - all[0].l + 2});
      }
    } else {
      res.push_back({"RUN", (all[i].l - all[i - 1].r - 2)});
      res.push_back({"JUMP", all[i].r - all[i].l + 2});
    }
  }
  if (all.back().r + 1 != m) {
    res.push_back({"RUN", (m - all.back().r - 1)});
  }
  for (auto elem : res) {
    cout << elem.type << " " << elem.d << endl;
  }
}

```