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