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