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