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