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