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