I'll give you the tip you build your own logic.
If you have 2013 version:
For loop and Initialize array
If you have the earlier version:
For loop, Initialize array and shift register
I'll give you the tip you build your own logic.
If you have 2013 version:
For loop and Initialize array
If you have the earlier version:
For loop, Initialize array and shift register