Answer:
see picture
Explanation:
I'm not exactly sure if you're supposed to write a trace snapshot at the beginning or at the end of a loop iteration. I did it at the end.