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