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