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