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