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