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