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