replace raw_input for python3