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