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