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