s = input().split() a = ['Sat', 'Sun'] b = s[0] in a c = s[1] in a if b and not c: print("8/32") elif b and c: print("8/33") else: print("8/31")