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