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