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