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