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