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