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