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