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