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