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