Find the Output: Break exits only inner loop