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