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