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