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