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