Determinate  for each student which stop he/she would move to.