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