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