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