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