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.awt.List;
import java.io.*;
import java.math.BigInteger;
import java.util.*;

import javax.swing.text.html.HTMLDocument.Iterator;
		
public class Main {

		private BufferedReader input;
		private PrintWriter output;
		private StringTokenizer stoken;
		
		String fin = "input";
		String fout = "output";

		int max = 0;
		String[] group;
		
		private void solve() throws IOException {

			/*
			boolean key = true;

			int count = 0;
			
			String st = input.readLine().trim();
			for (int i = 0; i<st.length(); i++) {
				if (st.charAt(i) == 'a' || st.charAt(i) == 'e' || st.charAt(i) == 'i' || st.charAt(i) == 'o' || st.charAt(i) == 'u') count++;
			}
			if (count != 5) key = false; 
			
			if (key) {
				
				st = input.readLine().trim();
				count = 0;
				for (int i = 0; i<st.length(); i++) {
					if (st.charAt(i) == 'a' || st.charAt(i) == 'e' || st.charAt(i) == 'i' || st.charAt(i) == 'o' || st.charAt(i) == 'u') count++;
				}
				if (count != 7) key = false; 

				if (key) {
					
					st = input.readLine().trim();
					count = 0;
					for (int i = 0; i<st.length(); i++) {
						if (st.charAt(i) == 'a' || st.charAt(i) == 'e' || st.charAt(i) == 'i' || st.charAt(i) == 'o' || st.charAt(i) == 'u') count++;
					}
					if (count != 5) key = false; 
					
				}
				
			}

			if (!key) {
				output.print("NO");
			} else {
				output.print("YES");
			}
			*/
			
			
			
			int n = nextInt();
			
			String st = "ROYGBIV";

			String res = "";
			
			int k = n / 7;
			
			for (int i=0; i<k; i=i+1) {
				res = res + st;
			}

			k = n - k*7;
			
			if (k == 1) res += "G";
			if (k == 2) res += "GB";
			if (k == 3) res += "GBI";
			if (k == 4) res += "GBIV";
			if (k == 5) res += "ROYGB";
			if (k == 6) res += "ROYGBI";

			
			//res = res.substring(0, n);
/*
			if (res.charAt(0) == res.charAt(n-1)) {
				res = res.substring(0, n-1) + res.charAt(3);
			}
	*/		
			output.print( res );


		
		}
		
		




		Main() throws IOException {
				//input = new BufferedReader(new InputStreamReader(System.in));
				//output = new PrintWriter(System.out);
				
				//input = new BufferedReader(new FileReader(fin + ".txt"));
				//output = new PrintWriter(new FileWriter(fout + ".txt"));


				
				//input = new BufferedReader(new FileReader(fin + ".txt"));
				input = new BufferedReader(new InputStreamReader(System.in));
				output = new PrintWriter(System.out);
				

				solve();

				
				input.close();

				output.flush();
				output.close();
		}

		
		int nextInt() {
				return Integer.parseInt(nextToken());
		}

		int nextIntegerer() {
			return 0;
		}
		
		long nextLong() {
				return Long.parseLong(nextToken());
		}

		double nextFloat() {
				return Float.parseFloat(nextToken());
		}

		double nextDouble() {
				return Double.parseDouble(nextToken());
		}
		
		String nextToken() {
				while ((stoken == null) || (!stoken.hasMoreTokens())) {
						try {
								String line = input.readLine();
								stoken = new StringTokenizer(line);
						} catch (IOException e) {
								e.printStackTrace();
						}
				}
				return stoken.nextToken();
		}
		

    
		public static void main(String[] args) throws IOException {
				new Main();
		}

}