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