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