output is 

run:
SAM 1
TOM 2
NICK 3
JOE 4
TOM 5
SAM 6
TOM 7
TOM 8
SAM 9
SAM 10
JOE 11
NICK 12
JACK 13
NICK 14
JOE 15
NICK 16
JACK 17
NEOMI 18
JOE 19
JACK 20
NEOMI 21
JACK 22
NEOMI 23
NEOMI 24
BUILD SUCCESSFUL (total time: 0 seconds)