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