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