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