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