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