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