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