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