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