import java.util.Scanner; public class PrintDay2 { public static void main(String[] args) { Scanner input = new Scanner(System.in); int x = input.nextInt(); if ( x == 1 || x == 2 || x == 3 || x == 4 || x == 5 ) System.out.println("Weekday"); else if ( x == 6 || x == 7 ) System.out.println("Weekend"); else System.out.println("Error"); } }