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