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