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