S1, S2 = gets.chomp.split holiday = ['Sat', 'Sun'] c1 = holiday.include?(S1) c2 = holiday.include?(S2) if c1 && c2 puts '8/33' elsif c1 && !c2 puts '8/32' else puts '8/31' end