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