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