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