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

Solution:
"Codeforces Round #339 (Div. 2)"
"B. Gena's Code"
# y=int(input())
# # a=list(map(int,input().split()))
# a=list(input().split())
# nz=0
# nb=''
# z=0
# # print(len(str(z)))
# for i in a:
#     if i=='0':
#         z=1
#         break
#     else:
#         s='1'
#         l=(len(i)-1)
#         qz='0'*l
#         s+=qz
#         if s==i:
#             nz+=l
#         else:
#             nb=i
# if nb=='':
#     nb='1'            
# ans=nb+('0'*nz)
# if z==1:
#     ans='0'
# print(ans)                
"Codeforces Round #177 (Div. 2)"
"B. Polo the Penguin and Matrix"
# n,m,d=map(int,input().split())
# a=[]
# for i in range(n):
#     b=list(map(int,input().split()))
#     a.extend(b)
# a.sort()
# fa=a[0]
# f=0
# c=(a[len(a)//2]-fa)//d
# moves=0
# for i in a:
#     if (i-fa)%d>0:
#         f=-1
#     moves+=abs(int((i-fa)/d)-c)
# if f==-1:
#     print(-1)
# else:
#     print(moves)            
"Codeforces Round #264 (Div. 2)"
"B. Caisa and Pylons"
# y=int(input())
# a=list(map(int,input().split()))
# mini=0
# p=-a[0]
# for i in range(1,y):
#     if p<mini:
#         mini=p
#     p=p+a[i-1]-a[i]   
# if p<mini:
#     mini=p    
# if mini<0:
#     print(-1*mini)
# else:
#     print(0)         
"Codeforces Beta Round #79 (Div. 2 Only)"
"B. Sum of Digits"
# y=input()
# def sumofdigits(s):
#     ans=0
#     for i in s:
#         ans+=int(i)
#     return ans
# n=0    
# while len(y)>1:
#     n+=1
#     y=str(sumofdigits(y))        
# print(n)
"Codeforces Beta Round #70 (Div. 2)"
"B. Easter Eggs"
y=int(input())
y=y-7
s="ROYGBIV"
sq=["G","B","I","V"]
i=0
while y>0:
    if i==4:
        i=0
    s+=sq[i]
    i+=1
    y-=1
print(s)