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