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