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