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