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