py3: PEP3111: input replaces raw_input
py3: str replaces unicode