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