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