You buy a fixed number of pieces from a few kinds of fruit. Repeats are fine and order does not matter. Draw each way with circles and bars, and find every different picture.
A circle is one piece of fruit, and a bar is where the kind changes. With apple, pear and orange, ○│○○│ means 1 apple, 2 pears and 0 oranges.
Tap a place to switch it between circle and bar. With one bar fewer than the number of kinds, the row stands for one way.