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