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