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