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