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