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