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