Automation selecting option in dropdown based on user input

Hello, thanks for the step-by-step process, I can now picture how the process should go. However, I hope you dont mind me asking a dumb question

How should I construct step 4, use a “While” loop with “Find Element”? Sorry its the only part confusing me as I cannot picture it