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