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