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