public class Solution {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        double num = scanner.nextDouble();

        num = num % 5;

        if (num >= 0.0 && num < 3.0){
            System.out.println("green");
        }else if (num >= 3.0 && num < 4.0){
            System.out.println("yellow");
        }else if (num >= 4.0 && num < 5.0){
            System.out.println("red");
        }else  {
            System.out.println("green");
        }
        scanner.close();
    }
}