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