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;
long long setBit(long long mask, int p) { return (mask | (1 << p)); }
long long resetBit(long long mask, int p) { return (mask & ~(1 << p)); }
long long flipBit(long long mask, int p) { return (mask ^ (1 << p)); }
bool check(long long mask, int p) { return (mask & (1 << p)); }
int msb(long long N) { return N ? 63 - __builtin_clzll(N) : -1; }
int lsb(long long N) { return __builtin_ffs(N) - 1; }
int countOn(long long mask) { return __builtin_popcountll(mask); }
int countOff(long long mask) { return msb(mask) - countOn(mask) + 1; }
long long bigmod(long long a, long long b, long long mod) {
  a %= mod;
  long long ret = 1;
  while (b) {
    if (b & 1) ret = ret * a % mod;
    a = a * a % mod;
    b >>= 1;
  }
  return ret;
}
long long modInverse(long long a) {
  return bigmod(a, 1000000007 - 2, 1000000007);
}
mt19937_64 mt_rnd_64(chrono::steady_clock::now().time_since_epoch().count());
long long rnd(long long l, long long r) {
  return (mt_rnd_64() % (r - l + 1)) + l;
}
int main() {
  int n, i;
  string s = "VIBGYOR";
  scanf("%d", &n);
  if (n == 7) {
    printf("%s\n", s.c_str());
  } else {
    string ans = s;
    for (i = 7; i < n; i++) {
      set<char> st;
      for (int j = 0; j < 7; j++) st.insert(s[j]);
      for (int j = i - 3; j < i; j++) {
        st.erase(ans[j]);
      }
      int cnt = 3;
      for (int j = (i + 1) % n; cnt; cnt--, j = (j + 1) % n) {
        st.erase(ans[j]);
      }
      ans += *st.begin();
    }
    printf("%s\n", ans.c_str());
  }
}