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