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