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