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