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