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