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