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