#! lua
io.input (arg[1])
local text = io.read "*all"
io.input ( )
local pat = "<script[^<]*</script>"
io.write ((text:gsub (pat, "")))