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