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