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