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