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