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