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