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