1: running total 1, note inside

2: running total 3, note inside

3: running total 6, note inside

4: running total 10, note inside

After the loop: total 10, note before