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