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