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