S = [i for i in input().strip().split(' ')] S = list(filter(lambda x : x not in ['Sat', 'Sun'], S)) print(['8/33', '8/32', '8/31'][len(S)])