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