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