Exercise of foreach loop.