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