How to use input and output in Python