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