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