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