as numbers are selected remove elements from array A repopulate list with what is remaining into array A print array A