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