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