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