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