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