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