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