Used the for loop