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