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