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