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