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