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