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