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