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