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