Merging and splitting lists

Found it by myself: