public class Solution { public static void main(String[] args) throws Exception { BufferedReader buffer = new BufferedReader(new InputStreamReader(System.in)); String num = buffer.readLine(); int number = Integer.parseInt(num); if(number == 1){ System.out.println("Monday"); }if(number == 2){ System.out.println("Tuesday"); }if(number == 3){ System.out.println("Wednesday"); }if(number == 4){ System.out.println("Thursday"); }if(number == 5){ System.out.println("Friday"); }if(number == 6){ System.out.println("Saturday"); }if(number == 7){ System.out.println("Sunday"); }else if(number < 1 | number > 7){ System.out.println("No such day of the week"); } } //write your code here