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