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