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