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