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