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