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