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