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