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