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