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