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