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