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