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