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