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