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