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