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