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