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