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