takes n from a list