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