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