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