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