Even though the code is giving write output it isnt verifying plz help!
package com.codegym.task.task04.task0413;
/*
Day of the week
*/
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String No=reader.readLine();
System.out.println("Enter a number: ");
int Num = Integer.parseInt(No);
if(Num==1)
System.out.println("Monday");
else if(Num==2)
System.out.println("Tuesday");
else if(Num==3)
System.out.println("Wednesday");
else if(Num==4)
System.out.println("Thursday");
else if(Num==5)
System.out.println("Friday");
else if(Num==6)
System.out.println("Saturday");
else if(Num==7)
System.out.println("Sunday");
else
System.out.println("No such day of the week");
}
}