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