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