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