Merge List with same numbers at beginning?

Hi. I do need to create a list where all the elements that begin with the same numbers to be merged together and take only the first name that follows after the number from beginning. I think needs to use sets but I am not familiar with them and I don’t fully understand how they do work. Any help will be appreciated. (7.4 KB) (14.3 KB)


Thank you very much, this is what I needed.