What to do..
package com.codegym.task.task04.task0416;
/*
Crossing the road blindly
*/
import java.io.*;
import java.util.Scanner;
public class Solution {
public static void main(String[] args) throws Exception {
//write your code here
Scanner scan = new Scanner(System.in);
double t = scan.nextDouble();
t = t % 5;
if (t<3 && t>2){
System.out.println("green");
}else if (t>2.5 && t<3.5){
System.out.println("yellow");
}else if (t>3.5 && t<4.5){
System.out.println("red");
}else {
System.out.println("green");
}
}
}