Can anyone help me in knowing where I am going wrong
package com.codegym.task.task04.task0416;
/*
Crossing the road blindly
*/
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));
String s = reader.readLine();
double t = Double.parseDouble(s);
if (t%5.0>=0&&t%5<3&&t%5==5)
System.out.println("green");
if(t%5.0>=3&&t%5<4)
System.out.println("yellow");
else
System.out.println("red");
}