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