Codeforces Beta Round 70 (Div. 2)
B
Easter Eggs
Codeforces
1200
原题
← AC →
翻译中…

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.

翻译中…

Note

翻译中…

The way the eggs will be painted in the first sample is shown on the picture:

翻译中…

image

翻译中…

样例

Input #1
8
Output #1
ROYGRBIV
InputCopy OutputCopy
Input #2
13
Output #2
ROYGBIVGBIVYG
InputCopy OutputCopy
题目信息
题号
78B
时间限制
2 s
内存限制
256 MB
标签
构造
模拟

题面与样例版权归 Codeforces 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。