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