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