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