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