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