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