a = io.read() b = a:sub(1, 3) c = a:sub(5, 7) if b == "Sat" or b == "Sun" then if c == "Sat" or c == "Sun" then print("8/33") else print("8/32") end else print("8/31") end