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