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