Problem: The Easter Rabbit laid n eggs in a circle and is about to paint them. 

Each egg should be painted one color out of 7: red, orange, yellow, green, blue, indigo or violet. Also, the following conditions should be satisfied:

  * Each of the seven colors should be used to paint at least one egg. 
  * Any four eggs lying sequentially should be painted different colors. 



Help the Easter Rabbit paint the eggs in the required manner. We know that it is always possible.

Input

The only line contains an integer n — the amount of eggs (7 ≤ n ≤ 100).

Output

Print one line consisting of n characters. The i-th character should describe the color of the i-th egg in the order they lie in the circle. The colors should be represented as follows: "R" stands for red, "O" stands for orange, "Y" stands for yellow, "G" stands for green, "B" stands for blue, "I" stands for indigo, "V" stands for violet.

If there are several answers, print any of them.

Examples

Input

8


Output

ROYGRBIV


Input

13


Output

ROYGBIVGBIVYG

Note

The way the eggs will be painted in the first sample is shown on the picture: 

<image>

Solution (in CPP):

Solution:
#include <bits/stdc++.h>
using namespace std;
const int N = 1000;
const double eps = 1e-9;
long long INF = 1e9 + 7;
struct compare {
  bool operator()(const int& l, const int& r) { return l > r; }
};
void read(string str, int node) {
  stringstream ss;
  int number;
  ss << str;
  while (ss >> number) cout << number << endl;
}
int dx[] = {1, -1, 0, 0, 1, -1, 1, -1};
int dy[] = {0, 0, 1, -1, 1, -1, -1, 1};
long long fp(long long b, long long p) {
  if (p == 0) return 1;
  if (p % 2 == 0) return fp((b * b) % INF, p / 2);
  return (fp(b, p - 1) * b) % INF;
}
long long read_binary(string s) {
  unsigned long long x = 0, tmp = 1;
  for (int i = s.size() - 1; i >= 0; i--) {
    x = (x + tmp * (s[i] - '0')) % INF;
    tmp = (tmp * 2) % INF;
  }
  return x;
}
int dp[5007][6];
string s;
int rec(int i, int opr) {
  if (i >= s.size()) return 0;
  if (dp[i][opr] != 0) return dp[i][opr];
  int& ret = dp[i][opr];
  ret = max(ret, rec(i + 1, opr));
  if (opr == 0) {
    if (s[i] == 'a') {
      ret = max(ret, rec(i + 1, 0) + 1);
    } else {
      ret = max(ret, rec(i + 1, 1) + 1);
    }
  } else if (opr == 1) {
    if (s[i] == 'b') {
      ret = max(ret, rec(i + 1, 1) + 1);
    } else {
      ret = max(ret, rec(i + 1, 2) + 1);
    }
  }
  if (opr == 2) {
    if (s[i] == 'a') {
      ret = max(ret, rec(i + 1, 2) + 1);
    }
  }
  return ret;
}
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  ;
  int n;
  scanf("%d", &n);
  string s;
  int i = 0;
  int rem = (n % 7);
  while (i < n) {
    s += "ROYGBIV";
    i += 7;
  }
  i = 0;
  string ss;
  for (int i = 0; i < n - rem; i++) ss += s[i];
  if (rem == 1) ss += 'G';
  if (rem == 2) ss += "GB";
  if (rem == 3) ss += "GBI";
  if (rem == 4) ss += "YGBI";
  if (rem == 5) ss += "OYGBI";
  if (rem == 6) ss += "ROYGBI";
  cout << ss << endl;
}