Here is the activity using for loops