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