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