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