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