Builtin function input writes its prompt to sys.stderr and not to sys.stdout

Sure! Please consider submitting a PR with the proposed changes you would like to see.