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