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