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