can somebody please give a hint what's wrong here ? It's failing on check for "If you enter a number from 1 to 7, you need to display the name of the day of the week" yet when I run the code i see correct output.
package en.codegym.task.jdk13.task04.task0413;

import java.io.BufferedReader;
import java.io.InputStreamReader;

/*
Day of the week
*/

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

        int daynum =  Integer.parseInt(reader.readLine());

        if (daynum == 1)
        {
            System.out.println("Monday");
        }
        else if (daynum == 2)
        {
            System.out.println("Tuesday");
        }
         else if (daynum == 3)
        {
            System.out.println("Wednesday");
        }
         else if (daynum == 4)
        {
            System.out.println("Thursday");
        }
         else if (daynum == 5)
        {
            System.out.println("Friday");
        }
         else if (daynum == 6)
        {
            System.out.println("Saturday");
        }
         else if (daynum == 7)
        {
            System.out.println("Saturday");
        }
        else
        {
            System.out.println("No such day of the week");
        }

    }
}