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