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