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