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