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