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