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