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