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