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