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