This is a simple array example using a for loop

1 Adam.
2 Dave.
0 John.