day = input().strip().split(" ") if set(day) == set(["Sun", "Sat"]): print("8/33") elif "Sun" in day or "Sat" in day: print("8/32") else: print("8/31")