satsun = ['Sat', 'Sun'] sep1, sep2 = input().split() if sep1 in satsun: if sep2 in satsun: print('8/33') else: print('8/32') else: print('8/31')