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