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