1. Store the input string in a list and convert the characters to int form
A = map(int,raw_input().strip().split(' '))
2. Convert the list to string output, separated by spaces
re = [1,2,3]
r = " ".join(map(str, re))
print r
Output: 1 2 3
1. Store the input string in a list and convert the characters to int form
A = map(int,raw_input().strip().split(' '))
2. Convert the list to string output, separated by spaces
re = [1,2,3]
r = " ".join(map(str, re))
print r
Output: 1 2 3