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.HashSet;
import java.util.Scanner;


public class B70 {

    
    public static String run(int n) {
        String pat = "ROYGBIV", res = "";
        int rep = n/7, rem = n%7;
        for (int i = 0; i < rep; i++)
            res += pat;
        String[] rems = {
                "",
                "G",
                "GB",
                "GBI",
                "GBIV",
                "ROYG",
                "ROYGB",
                "ROYGBI"
        };
        res += rems[rem];
        return res;
    }
    
    public static String run2(int n) {
        String pat = "ROYGBIV", res = "";
        int rep = n/7-1, rem = n%7;
        for (int i = 0; i < rep; i++)
            res += pat;
        String[] rems = {
                "ROYGBIV",
                "ROYGRBIV",
                "ROYGROBIV",
                "ROYGROYBIV",
                "ROYGROYGBIV",
                "ROYGBIVGBIVG",
                "ROYGBIVGBIVYG"
        };
        res += rems[rem];
        return res;
    }
    
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        System.out.println(run2(in.nextInt()));
//      for (int i = 7; i <= 100; i++) {
//          String res = run(i);
//          boolean valid = true;
//          for (int j = 4; j < res.length(); j++) {
//              int st = j-4, end = j;
//              for (int k = st; k < end; k++) {
//                  for (int l = st; l < end; l++) {
//                      if (k == l) continue;
//                      if (res.charAt(k) == res.charAt(l)) {
//                          System.out.println("Case #" + i + ": Error (" + res + ")");
//                          valid = false;
//                          break;
//                      }
//                  }
//                  if (!valid) break;
//              }
//              if (!valid) break;
//          }
//          if (valid) {
//              HashSet<Character> set = new HashSet<Character>();
//              for (int j = 0; j < res.length(); j++) {
//                  set.add(res.charAt(j));
//              }
//              if (set.size() != 7) {
//                  valid = false;
//                  System.out.println("Case #" + i + ": Invalid (" + res + ")");
//              }
//          }
//          if (!valid) break;
//          else System.out.println("Case #" + i + ": Passed (" + res + ")");
//      }
    }
}