S = input().split() sat_sun = ['Sat', 'Sun'] if all(s in sat_sun for s in S): print('8/33') elif any(s in sat_sun for s in S): print('8/32') else: print('8/31')