Fixed input on python2