Tagged: pattern using nested for loop