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