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