how to take space separated integer input in python 3