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