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