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