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