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