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