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