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