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