Example 22. Nested iterations of the basic structure