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