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