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