package com.codegym.task.task04.task0416;

/*
Crossing the road blindly

*/
import java.util.Scanner;
import java.io.*;

public class Solution {
    public static void main(String[] args) throws Exception {
        //write your code here
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));

        //Scanner sc = new Scanner (System.in);
        //double t = sc.nextInt();

        String time = reader.readLine();
        double t = Integer.parseInt(time);

        String green = "green";
        String yellow = "yellow";
        String red = "red";

        if (t%3==0)
            System.out.println(green);
        else if (t%4==0)
            System.out.println(yellow);
        else if (t%5==0)
            System.out.println(red);

    }
}
it passes when it's not a decimal though I'm not certain why.