For each loop exercise