get the students via StdIn
each with index