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