Help developing a list repeted value by count

Hello any of you can help me to find which node can help to copy the same value from a list by an specific count on a sublist.

Example. If I have 2 elements called 001, 4 elements 003, and only 1 called 004. Ca I get a sublist like the one on the image.

thanks

image

List.OfRepeatedItems will do the trick. Feed it the list of items you want to repeat, and a list of the number of times you want each item repeated.

thanks Jacob, yes it did it. I tried with it before, but I was using wrong the levels. I’m attaching a picture the solution.

Thanks.
image