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