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