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