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