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