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