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