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