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