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