BHG Financial interview question

Solve a linkedin list. Solve a for loop.