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