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