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