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