two int inouts python code example
Example 1: taking input of n integers in single line python in a list
arr = list(map(int, input().split()))
Example 2: name, *line = input().split()
>>> first, *rest = input().split()
>>> print(first)
>>> print(*rest)
'''
given_ input = hello my name is bob
hello
['my', 'name', 'is', 'bob']
'''