Exercise fo foreach loop.