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