In the first loop, index is delayed 3 times.

Printable View