Replace `raw_input` with `input` where possible