l=input().split() if 'Sun'in l and'Sat'in l: print('8/33') elif l[0]=='Sat'or l[0]=='Sun': print('8/32') else: print('8/31')