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