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