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