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