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