This is a simple array example using a foreach loop

1 John.
2 Adam.
4 Mike.
5 Bill.