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