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 JAVA):

Solution:
import java.util.*;
import java.io.*;
import java.lang.*;

public class codeforces {
    static class FastIO {
        InputStream dis;
        byte[] buffer = new byte[1 << 17];
        int pointer = 0;
        public FastIO(String fileName) throws Exception {
          dis = new FileInputStream(fileName);
        }
        public FastIO(InputStream is) throws Exception {
          dis = is;
        }
        public int nextInt() throws Exception {
          int ret = 0;
          byte b;
          do {
              b = nextByte();
          } while (b <= ' ');
          boolean negative = false;
          if (b == '-') {
              negative = true;
              b = nextByte();
          }
          while (b >= '0' && b <= '9') {
              ret = 10 * ret + b - '0';
              b = nextByte();
          }
          return (negative) ? -ret : ret;
        }
        public long nextLong() throws Exception {
          long ret = 0;
          byte b;
          do {
              b = nextByte();
          } while (b <= ' ');
          boolean negative = false;
          if (b == '-') {
              negative = true;
              b = nextByte();
          }
          while (b >= '0' && b <= '9') {
              ret = 10 * ret + b - '0';
              b = nextByte();
          }
          return (negative) ? -ret : ret;
        }
        public byte nextByte() throws Exception {
          if (pointer == buffer.length) {
              dis.read(buffer, 0, buffer.length);
              pointer = 0;
          }
          return buffer[pointer++];
        }
        public String next() throws Exception {
          StringBuffer ret = new StringBuffer();
          byte b;
          do {
              b = nextByte();
          } while (b <= ' ');
          while (b > ' ') {
              ret.appendCodePoint(b);
              b = nextByte();
          }
          return ret.toString();
        }
    } 
    


    
  
    
    public static void main(String[] args) throws Exception {
      FastIO r = new FastIO(System.in);
      int n = r.nextInt();
      String ans = "";
      int rem = n / 7;
      for(int i = 0; i < rem; i++){
        ans += "ROYGBIV";
      }
      if(n % 7 == 1) ans += "G";
      else if(n % 7 == 2) ans += "GB";
      else if(n % 7 == 3) ans += "YGB";
      else if(n % 7 == 4) ans += "YGBI";
      else if(n % 7 == 5) ans += "OYGBI";
      else if(n % 7 == 6) ans += "OYGBIV";

      System.out.println(ans);
    }
    
}