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