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