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