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