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