When I run my code, I get the right code, but when I try to verify it, it says that I got none of the 5 requirements right, even though I get the correct system output. What do I do?
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 t = reader.readLine();
int t1 = Integer.parseInt(t);
if ((t1%5)<=3)
System.out.println("green");
else if ((t1%5)<=4)
System.out.println("yellow");
else if((t1%5)<=5)
System.out.println("red");
}
}