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