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