There are 6 baskets on the table. Each basket has 2, 7, 1, 4, 10 and 8 apples. Liam chose first, Emma chose third, Matt chose fourth, Olivia chose sixth, Sean chose fifth, and John chose second. How many apples did Matt and Liam choose in total?