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