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