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