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