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