>>> first, *rest = input().split() >>> print(first) >>> print(*rest) ''' given_ input = hello my name is bob hello ['my', 'name', 'is', 'bob'] '''