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