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