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