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