package com.codegym.task.task04.task0413; /* Day of the week */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader br = new BufferedReader (new InputStreamReader(System.in)); String a = br.readLine(); int b = Integer.parseInt(a); if (b == 1) System.out.println("Monday"); if (b == 2) System.out.println("Tuesday"); if (b == 3) System.out.println("Wednesday"); if (b == 4) System.out.println("Thursday"); if (b == 5) System.out.println("Friday"); if (b == 6) System.out.println("Saturday"); if (b == 7) System.out.println("Sunday"); else System.out.println("No such day of the week"); } }