s,t = map(str,input().split()) list = ["Sat","Sun"] if (s in list) and (t in list): print("8/33") elif s in list: print("8/32") else: print("8/31")