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