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