cnt = 1 s = gets.split for n in 0..1 do if !["Sun", "Sat"].include?(s[n]) break end cnt += 1 end puts "8/3"+cnt.to_s