i now know what its telling me to do but Im still failing
package com.codegym.task.task04.task0416;
/*
Crossing the road blindly
*/
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
BufferedReader f = new BufferedReader(new InputStreamReader(System.in));
String d = f.readLine();
double t = Double.parseDouble(d);
if (t == 2.5 || t == 5.0){
String light = "green";
} else if (t == 4.0){
String light = "red";
} else if (t == 3.0){
String light = "yellow";
System.out.println(light);
}
}
}