solution: partition list 1