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