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