For loop exercises