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