refactor
fix raw_input in python3