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