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