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