Solve Nested Loop Complexity with Goto

# Introduction In this challenge, you are tasked with refactoring a legacy code segment that uses complex nested loops in financial data processing. The goal is to simplify the loop control flow by utilizing the `goto` statement, making the code more readable and maintainable. The challenge requires you to ensure the program prints the data elements before exiting when the value `5` is encountered.

|
60 : 00

Click the virtual machine below to start practicing