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