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