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