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