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