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