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