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