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