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