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