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