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