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