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