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