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