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