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