S1, S2 = input().split() d = ["Sat", "Sun"] if S1 in d and S2 in d: print("8/33") elif S1 in d: print("8/32") else: print("8/31")