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