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