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