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