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