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