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