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