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