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