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