For Loop for Dynamo nodes

Hi everyone,
Is it possible to do for loop for dynamo nodes?
The nodes I circled in the picture below are my desired input and output result.
What I willing to do is to generate the output

  1. without repeating the “List.RestOfItems” nodes many times and
  2. without replacing the “List.RestOfItems” node into python script or code block (since the List.RestOfItems" nodes is only an example, I would change it to a chain of complex nodes or custom nodes in the future)

Thank you very much!!

@salvatoredragotta Thank you for your reply. However, is it possible to keep the “List.RestOfItems” node?
Since the “List.RestOfItems" nodes is only used as an example, I would change it to a chain of complex nodes or custom nodes in the future.

@htmokac