Well, thanks for the tip.
I would have two baskets, one with number 1 and the second numbered as 2. Then I would take an apple and choose the basket, to which I would like to put the apple in.
This means, that I would need to get the id or index of a newly created list and put/add the item into it. So first of all I need to get the id/index.