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