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