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