data = [int(s) for s in input('Enter numbers: ').split()] # list of ints print('Their sum is', sum(data))