S = [i for i in input().strip().split(' ')] S = list(set(S) - set(['Sat', 'Sun'])) print(['8/33', '8/32', '8/31'][len(S)])