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