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