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