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