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