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