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