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