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