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