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