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