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