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