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