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