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