s1, s2 = map(str,input().split()) holiday = ["Sat", "Sun"] flag_32 = False flag_33 = False if s1 in holiday and s2 in holiday: print("8/33") elif s1 in holiday: print("8/32") else: print("8/31")