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