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