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