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