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