package m.shin; import java.util.Scanner; public class Con841 { public static void main(String[] args) { Scanner s = new Scanner(System.in); String s1 = s.next() , s2 = s.next(); s.close(); if(s1.equals("Sat") || s1.equals("Sun")){ if(s2.equals("Sun") || s2.equals("Sat")){ System.out.println("8/33"); }else{ System.out.println("8/32"); } }else{ System.out.println("8/31"); } } }