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