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