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