using System; using System.Linq; class Program { static void Main() { var a = Console.ReadLine().Split(); if (a[0] == "Sat" || a[0] == "Sun") { if(a[1] == "Sat" || a[1] == "Sun") { Console.WriteLine("8/33"); } else { Console.WriteLine("8/32"); } } else { Console.WriteLine("8/31"); } } }