counting sort, greedy

Level A