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;
template <typename T>
string to_str(T num) {
  stringstream stream;
  stream << num;
  return stream.str();
}
int to_int(string str) {
  int val;
  stringstream stream;
  stream << str;
  stream >> val;
  return val;
}
void omar_medhat() { ios_base::sync_with_stdio(0), cin.tie(0), cout.tie(0); }
int Reverse(int val) {
  int rev = 0, rem;
  while (val != 0) {
    rem = val % 10;
    rev = rev * 10 + rem;
    val /= 10;
  }
  return rev;
}
int gcd(int a, int b) { return b == 0 ? a : gcd(b, a % b); }
bool prime(int x) {
  int counter = 0;
  for (int i = 1; i <= x; i++)
    if (x % i == 0) counter++;
  if (counter > 2)
    return 0;
  else
    return 1;
}
int dx[4] = {-1, 0, 0, 1};
int dy[4] = {0, -1, 1, 0};
char grid[101][101];
int seen[101][101];
static long long S = 0, I = 0;
long long binary_to_decimal(long long x) {
  long long h, q;
  h = x % 10;
  x = x / 10;
  q = h * pow(2, I);
  S += q;
  I++;
  if (x != 0) binary_to_decimal(x);
  return S;
}
const double pi = 3.1415926535897;
int main() {
  omar_medhat();
  long long x, y, a1 = 0, a2, a3, a4, a5, a6, sum = 0, f, sum2 = 0, j, cnta = 0,
                  cntb = 0, cntc = 0, r, l, maxi = 0, i = 0;
  char p;
  bool bo = 1;
  string s1 = "ROYG", s2 = "BIVG", s3 = "ROYG";
  cin >> x;
  y = x;
  x -= 4;
  while (y > s3.size()) {
    s3 += s2;
    sum += 4;
  }
  j = s3.size() - 1;
  f = s3.size() - y;
  if (s3.size() > y) {
    while (f--) {
      s3.erase(s3.begin() + j);
      j--;
    }
  }
  cout << s3 << endl;
}