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