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