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